示例#1
0
 def tearDown(self):
     CouchDBTestCase.tearDown(self)
     TestCaseWithServer.tearDown(self)
     # delete remote database
     db = CouchDatabase.open_database(urljoin(self._couch_url, 'shared'),
                                      create=True,
                                      ensure_ddocs=True)
     db.delete_database()
示例#2
0
 def tearDown(self):
     # delete remote database
     db = CouchDatabase.open_database(
         urljoin(self._couch_url, 'shared'),
         create=True,
         ensure_ddocs=True)
     db.delete_database()
     CouchDBTestCase.tearDown(self)
     TestCaseWithServer.tearDown(self)
示例#3
0
 def tearDown(self):
     CouchDBTestCase.tearDown(self)
     TestCaseWithServer.tearDown(self)
示例#4
0
 def tearDown(self):
     CouchDBTestCase.tearDown(self)
     TestCaseWithServer.tearDown(self)
 def tearDown(self):
     self.db.delete_database()
     self.db.close()
     CouchDBTestCase.tearDown(self)
     TestCaseWithServer.tearDown(self)
示例#6
0
 def tearDown(self):
     self.db.delete_database()
     self.db.close()
     CouchDBTestCase.tearDown(self)
     TestCaseWithServer.tearDown(self)
示例#7
0
 def tearDown(self):
     CouchDBTestCase.tearDown(self)
     TestCaseWithServer.tearDown(self)
     shutil.rmtree(self.tempdir)
示例#8
0
 def tearDown(self):
     CouchDBTestCase.tearDown(self)
     TestCaseWithServer.tearDown(self)
     shutil.rmtree(self.tempdir)