def tearDown(self): ResourcedTestCase.tearDown(self) TestCase.tearDown(self)
def setUp(self): ResourcedTestCase.setUp(self) TestCase.setUp(self)
def setUp(self): ResourcedTestCase.setUp(self) conn = psycopg2.connect(host=self.db.host, database=self.db.database) self.conn = self.db.dirty_on_commit_wrapper(conn)
def tearDown(self): # NOTE: must close connections or dropping databases fails self.conn.close() ResourcedTestCase.tearDown(self)
def setUp(self): TestCase.setUp(self) ResourcedTestCase.setUp(self)