def before(self, state): state.request.dbapi = dbapi.get_instance()
def setUp(self): super(DbConnectionTestCase, self).setUp() self.dbapi = dbapi.get_instance()
def setUp(self): super(DbConnectionTestCase, self).setUp() self.dbapi = dbapi.get_instance()
def before(self, state): state.request.dbapi = dbapi.get_instance()