Example #1
0
 def tearDown(self):
     """
     Need to explicitely invoke destruction on all bases.
     """
     self.db2.delete_database()
     SoledadWithCouchServerMixin.tearDown(self)
     tests.TestCaseWithServer.tearDown(self)
Example #2
0
 def tearDown(self):
     """
     Need to explicitely invoke destruction on all bases.
     """
     self.db2.delete_database()
     SoledadWithCouchServerMixin.tearDown(self)
     tests.TestCaseWithServer.tearDown(self)
Example #3
0
    def tearDown(self):
        self.db1.close()
        self.db2.close()
        self._soledad.close()

        # XXX should not access "private" attrs
        shutil.rmtree(os.path.dirname(self._soledad._local_db_path))
        SoledadWithCouchServerMixin.tearDown(self)
Example #4
0
    def tearDown(self):
        self.db1.close()
        self.db2.close()
        self._soledad.close()

        # XXX should not access "private" attrs
        shutil.rmtree(os.path.dirname(self._soledad._local_db_path))
        SoledadWithCouchServerMixin.tearDown(self)
Example #5
0
    def tearDown(self):
        """
        Need to explicitely invoke destruction on all bases.
        """
        dbsyncer = getattr(self, 'dbsyncer', None)
        if dbsyncer:
            dbsyncer.close()
        self.db1.close()
        self.db2.close()
        self._soledad.close()

        # XXX should not access "private" attrs
        shutil.rmtree(os.path.dirname(self._soledad._local_db_path))
        SoledadWithCouchServerMixin.tearDown(self)
Example #6
0
    def tearDown(self):
        """
        Need to explicitely invoke destruction on all bases.
        """
        dbsyncer = getattr(self, 'dbsyncer', None)
        if dbsyncer:
            dbsyncer.close()
        self.db1.close()
        self.db2.close()
        self._soledad.close()

        # XXX should not access "private" attrs
        shutil.rmtree(os.path.dirname(self._soledad._local_db_path))
        SoledadWithCouchServerMixin.tearDown(self)
Example #7
0
 def tearDown(self):
     """
     Need to explicitely invoke destruction on all bases.
     """
     SoledadWithCouchServerMixin.tearDown(self)
Example #8
0
 def tearDown(self):
     SoledadWithCouchServerMixin.tearDown(self)
     tests.TestCaseWithServer.tearDown(self)
     db, _ = self.request_state.ensure_database('test2')
     db.delete_database()
Example #9
0
 def tearDown(self):
     self.target.close()
     SoledadWithCouchServerMixin.tearDown(self)
Example #10
0
 def tearDown(self):
     self.db.close()
     self.st.close()
     tests.TestCaseWithServer.tearDown(self)
     SoledadWithCouchServerMixin.tearDown(self)
Example #11
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 #12
0
 def tearDown(self):
     self.target.close()
     SoledadWithCouchServerMixin.tearDown(self)
Example #13
0
 def tearDown(self):
     self.db.close()
     self.st.close()
     tests.TestCaseWithServer.tearDown(self)
     SoledadWithCouchServerMixin.tearDown(self)
Example #14
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 #15
0
 def tearDown(self):
     SoledadWithCouchServerMixin.tearDown(self)
     tests.TestCaseWithServer.tearDown(self)
     db, _ = self.request_state.ensure_database('test2')
     db.delete_database()
Example #16
0
 def tearDown(self):
     """
     Need to explicitely invoke destruction on all bases.
     """
     SoledadWithCouchServerMixin.tearDown(self)