diff test/test_readconfig.py @ 185:e1c7cd896310

Rework test/filesupport.py so that test cases always use their own temporary directory. Before, the test cases had to ensure this themselves. Adapt the test cases.
author Bernhard Herzog <bh@intevation.de>
date Thu, 26 Jun 2008 16:23:26 +0000
parents 36004ee0b3a1
children eaa696629a91
line wrap: on
line diff
--- a/test/test_readconfig.py	Wed Jun 25 15:15:30 2008 +0000
+++ b/test/test_readconfig.py	Thu Jun 26 16:23:26 2008 +0000
@@ -62,8 +62,7 @@
                            ""]))])]
 
     def setUp(self):
-        self.directory = self.create_temp_dir(self.id())
-        self.create_files(self.directory, self.files)
+        self.directory = self.create_files("treepkg", self.files)
         self.old_path = sys.path
         sys.path = [self.directory] + sys.path
 
This site is hosted by Intevation GmbH (Datenschutzerklärung und Impressum | Privacy Policy and Imprint)