def test_joe_handler(self): self.assertFalse(joe.slacklib.handle_command('') == None) self.assertTrue( joe.slacklib.handle_command(joe.slacklib.COMMAND1) == "Just barely...") self.assertTrue( slackpi.handle_command(joe.slacklib.COMMAND1, "") == None)
def test_slack_pi(self): self.assertTrue(slackpi.handle_command("","") == None)
def test_exc_handler(self): self.assertTrue(slackpi.handle_command('version', 'channel') == None)