Example #1
0
 def tearDown(self):
     # db2, _ = self.request_state.ensure_database('test2')
     self.delete_db(self.db2._dbname)
     self.db1.close()
     SoledadWithCouchServerMixin.tearDown(self)
     TestWithScenarios.tearDown(self)
Example #2
0
 def setUp(self):
     TestWithScenarios.setUp(self)
     SoledadWithCouchServerMixin.setUp(self)
     self.startTwistedServer()
     self.db1 = make_sqlcipher_database_for_test(self, 'test1')
     self.db2 = self.request_state._create_database('test')
Example #3
0
 def setUp(self):
     TestWithScenarios.setUp(self)
     SoledadWithCouchServerMixin.setUp(self)
     self.startTwistedServer()
     self.db1 = make_sqlcipher_database_for_test(self, 'test1')
     self.db2 = self.request_state._create_database('test')
Example #4
0
 def tearDown(self):
     # db2, _ = self.request_state.ensure_database('test2')
     self.delete_db(self.db2._dbname)
     self.db1.close()
     SoledadWithCouchServerMixin.tearDown(self)
     TestWithScenarios.tearDown(self)
Example #5
0
 def setUp(self):
     TestWithScenarios.setUp(self)
     test_backends.AllDatabaseTests.setUp(self)
     BaseSoledadTest.setUp(self)