def setUp(self):
     super(TestPropertyController, self).setUp()
     self.api = utils.FakeAPI(data_fixtures)
     self.schema_api = utils.FakeSchemaAPI(schema_fixtures)
     self.controller = base.BaseController(self.api, self.schema_api,
                                           metadefs.PropertyController)
Exemplo n.º 2
0
 def setUp(self):
     super(TestController, self).setUp()
     self.api = utils.FakeAPI(data_fixtures)
     self.schema_api = utils.FakeSchemaAPI(schema_fixtures)
     self.controller = base.BaseController(self.api, self.schema_api,
                                           image_tags.Controller)