コード例 #1
0
 def tearDown(self):
     """
     Need to explicitely invoke destruction on all bases.
     """
     self.db2.delete_database()
     SoledadWithCouchServerMixin.tearDown(self)
     tests.TestCaseWithServer.tearDown(self)
コード例 #2
0
ファイル: test_sync.py プロジェクト: fbernitt/soledad
 def tearDown(self):
     """
     Need to explicitely invoke destruction on all bases.
     """
     self.db2.delete_database()
     SoledadWithCouchServerMixin.tearDown(self)
     tests.TestCaseWithServer.tearDown(self)
コード例 #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)
コード例 #4
0
ファイル: test_sync_deferred.py プロジェクト: parmegv/soledad
    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)
コード例 #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)
コード例 #6
0
ファイル: test_sync_target.py プロジェクト: Moscarda/soledad
    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)
コード例 #7
0
ファイル: test_sync.py プロジェクト: Meistache/soledad
 def tearDown(self):
     """
     Need to explicitely invoke destruction on all bases.
     """
     SoledadWithCouchServerMixin.tearDown(self)
コード例 #8
0
ファイル: test_target.py プロジェクト: fbernitt/soledad
 def tearDown(self):
     SoledadWithCouchServerMixin.tearDown(self)
     tests.TestCaseWithServer.tearDown(self)
     db, _ = self.request_state.ensure_database('test2')
     db.delete_database()
コード例 #9
0
 def tearDown(self):
     self.target.close()
     SoledadWithCouchServerMixin.tearDown(self)
コード例 #10
0
 def tearDown(self):
     self.db.close()
     self.st.close()
     tests.TestCaseWithServer.tearDown(self)
     SoledadWithCouchServerMixin.tearDown(self)
コード例 #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)
コード例 #12
0
ファイル: test_sync_target.py プロジェクト: Moscarda/soledad
 def tearDown(self):
     self.target.close()
     SoledadWithCouchServerMixin.tearDown(self)
コード例 #13
0
ファイル: test_sync_target.py プロジェクト: Moscarda/soledad
 def tearDown(self):
     self.db.close()
     self.st.close()
     tests.TestCaseWithServer.tearDown(self)
     SoledadWithCouchServerMixin.tearDown(self)
コード例 #14
0
ファイル: test_sync_target.py プロジェクト: Moscarda/soledad
 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)
コード例 #15
0
 def tearDown(self):
     SoledadWithCouchServerMixin.tearDown(self)
     tests.TestCaseWithServer.tearDown(self)
     db, _ = self.request_state.ensure_database('test2')
     db.delete_database()
コード例 #16
0
ファイル: test_sync.py プロジェクト: Meistache/soledad
 def tearDown(self):
     """
     Need to explicitely invoke destruction on all bases.
     """
     SoledadWithCouchServerMixin.tearDown(self)