예제 #1
0
파일: test_files.py 프로젝트: boothead/karl
 def tearDown(self):
     testing.tearDown()
예제 #2
0
    def tearDown(self):
        testing.tearDown()

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

        if self.tmp_file is not None:
            self.tmp_file.close()
예제 #4
0
파일: test_blog.py 프로젝트: cguardia/karl
    def tearDown(self):
        testing.tearDown()

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