Permalink
Browse files

fixed test tear down

  • Loading branch information...
1 parent 8cb760c commit 531b7bf4bcdd4d308c237851dec2513750338324 @SeanHayes SeanHayes committed Nov 10, 2011
Showing with 4 additions and 4 deletions.
  1. +1 −1 django_config_gen/__init__.py
  2. +3 −3 django_config_gen/tests/__init__.py
@@ -3,6 +3,6 @@
#
#Licensed under a BSD 3-Clause License. See LICENSE file.
-VERSION = (1, 0, 7)
+VERSION = (1, 0, 8)
__version__ = "".join([".".join(map(str, VERSION[0:3])), "".join(VERSION[3:])])
@@ -99,10 +99,10 @@ def test_copies_sub_folder_contents(self):
def tearDown(self):
- #for tmp_file in self.tmp_files:
- # os.remove(tmp_file)
+ for tmp_file in self.tmp_files:
+ os.remove(tmp_file)
- #shutil.rmtree(self.config_dir)
+ shutil.rmtree(self.config_dir)
if hasattr(self, 'old_CONFIG_GEN_TEMPLATES_DIR'):
settings.CONFIG_GEN_TEMPLATES_DIR = self.old_CONFIG_GEN_TEMPLATES_DIR

0 comments on commit 531b7bf

Please sign in to comment.