Exemple #1
0
 def tearDown(self):
     testing.tearDown()
Exemple #2
0
    def tearDown(self):
        testing.tearDown()

        import os
        if os.path.exists(self.tmp_name):
            os.remove(self.tmp_name)
Exemple #3
0
    def tearDown(self):
        testing.tearDown()

        if self.tmp_file is not None:
            self.tmp_file.close()
Exemple #4
0
    def tearDown(self):
        testing.tearDown()

        from karl.content.views import blog
        blog.os = self._save_os