class MaestroTestCase(testing.AsyncTestCase): def setUp(self): super(MaestroTestCase, self).setUp() self.m = Maestro() @testing.gen_test def test_lookup(self): res = yield self.m.lookup_recipe("busybox") self.assertEqual(res, None)
def setUp(self): super(MaestroTestCase, self).setUp() self.m = Maestro()