def setUp(self): super(ManagerTestCase, self).setUp() self.service = manager.ManagerService('test-host', 'test-topic') self.dbapi = dbapi.get_instance()
def before(self, state): state.request.dbapi = dbapi.get_instance()