Пример #1
0
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)
Пример #2
0
 def setUp(self):
     super(MaestroTestCase, self).setUp()
     self.m = Maestro()