Skip to content
This repository has been archived by the owner on Jul 14, 2019. It is now read-only.

added greeting message #1

Open
wants to merge 3 commits into
base: master
Choose a base branch
from
Open

added greeting message #1

wants to merge 3 commits into from

Conversation

JnBrymn-EB
Copy link
Contributor

  • added greeting message
  • split up "greeting module" code from "base bot" code
  • added channel names lookup
  • added more tests



def test_greeting(mocker):
slack = mocker.Mock()
greeter = GreetingBotModule(slack)
bot = Bot(event_processors=[greeter])
Copy link
Contributor Author

Choose a reason for hiding this comment

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

we were testing both the Bot and GreetingBotModule so I removed the bot part so we could test them separately

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant