def test_returns_none_if_not_found(self): b = Bots(self.settings) bot = b.get_named("sss") self.assertIsNone(bot)
def test_can_request_bots_with_name(self): b = Bots(self.settings) bot = b.get_named("Testbots Bot") self.assertIsNotNone(bot)