Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

labhub: Adapt to the modified newcomer process #486

Closed
wants to merge 1 commit into from

Conversation

meetmangukiya
Copy link
Member

  • invite me variation of invite command is removed.
  • "Hello world"s no longer trigger invites.
  • Newcomer invitation message is changed to show the modification in the
    newcomer process.

Closes #476

Reviewers Checklist

  • Appropriate logging is done.
  • Appropriate error responses.
  • Handle every possible exception.
  • Make sure there is a docstring in the command functions. Hint: Lookout for
    botcmd and re_botcmd decorators.
  • See that 100% coverage is there.
  • See to it that mocking is not done where it is not necessary.

- `invite me` variation of invite command is removed.
- "Hello world"s no longer trigger invites.
- Newcomer invitation message is changed to show the modification in the
  newcomer process.

Closes #476
@@ -1,9 +1 @@
Welcome @{{ target }}! :tada:

We've just sent you an invite via email. Please accept it before proceeding forward.
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

We still need an invite process via corobo, so this file and related code shouldnt be deleted.

@jayvdb
Copy link
Member

jayvdb commented Dec 20, 2017

unack a87b74e

@@ -69,12 +69,11 @@ def test_hello_world_callback(self):
labhub = testbot.bot.plugin_manager.get_plugin_obj_by_name('LabHub')
labhub.TEAMS = teams
self.mock_team.is_member.return_value = False
testbot.assertCommand('hello, world', 'newcomer')
testbot.assertCommand('hello, world', 'newcomer', timeout=10000)
Copy link
Member Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

remove this timeout

@meetmangukiya
Copy link
Member Author

Being done by @nvzard

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Development

Successfully merging this pull request may close these issues.

3 participants