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()
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)
def tearDown(self): BaseSoledadTest.tearDown(self) CouchDBTestCase.tearDown(self) main_test_class = getattr(self, 'main_test_class', None) if main_test_class is not None: main_test_class.tearDown(self) # delete the test database try: db = CouchDatabase(self._couch_url, 'test') db.delete_database() except DatabaseDoesNotExist: pass
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)
def tearDown(self): CouchDBTestCase.tearDown(self) TestCaseWithServer.tearDown(self) shutil.rmtree(self.tempdir)