예제 #1
0
 def test_returns_none_if_not_found(self):
     b = Bots(self.settings)
     bot = b.get_named("sss")
     self.assertIsNone(bot)
예제 #2
0
 def test_returns_none_if_not_found(self):
     b = Bots(self.settings)
     bot = b.get_named("sss")
     self.assertIsNone(bot)
예제 #3
0
 def test_can_request_bots_with_name(self):
     b = Bots(self.settings)
     bot = b.get_named("Testbots Bot")
     self.assertIsNotNone(bot)
예제 #4
0
 def test_can_request_bots_with_name(self):
     b = Bots(self.settings)
     bot = b.get_named("Testbots Bot")
     self.assertIsNotNone(bot)