Mercurial > treepkg
diff test/test_debian.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 | e83e96ef12b1 |
children | 86ea689eda5f |
line wrap: on
line diff
--- a/test/test_debian.py Wed Jun 25 15:15:30 2008 +0000 +++ b/test/test_debian.py Thu Jun 26 16:23:26 2008 +0000 @@ -46,8 +46,7 @@ """ def test(self): - filename = self.create_temp_file(self.id() + "-control", - self.control_contents) + filename = self.create_temp_file("control", self.control_contents) parsed = DebianControlFile(filename) self.assertEquals(parsed.packages, [('libksba-dev', 'any'), ('libksba8', 'any')])