Esempio n. 1
0
 def tearDown(self):
     ResourcedTestCase.tearDown(self)
     TestCase.tearDown(self)
Esempio n. 2
0
 def setUp(self):
     ResourcedTestCase.setUp(self)
     TestCase.setUp(self)
Esempio n. 3
0
 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)
Esempio n. 4
0
 def tearDown(self):
     # NOTE: must close connections or dropping databases fails
     self.conn.close()
     ResourcedTestCase.tearDown(self)
Esempio n. 5
0
 def tearDown(self):
     # NOTE: must close connections or dropping databases fails
     self.conn.close()
     ResourcedTestCase.tearDown(self)
Esempio n. 6
0
 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)
Esempio n. 7
0
 def setUp(self):
     TestCase.setUp(self)
     ResourcedTestCase.setUp(self)
Esempio n. 8
0
 def setUp(self):
     ResourcedTestCase.setUp(self)
     TestCase.setUp(self)
Esempio n. 9
0
 def tearDown(self):
     ResourcedTestCase.tearDown(self)
     TestCase.tearDown(self)