Exemple #1
0
 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)
Exemple #2
0
 def test_slack_pi(self):
     self.assertTrue(slackpi.handle_command("","") == None)
Exemple #3
0
 def test_exc_handler(self):
     self.assertTrue(slackpi.handle_command('version', 'channel') == None)