Mercurial > treepkg
diff test/test_packager.py @ 223:230582ed7329
some cosmetic changes:
- remove commented out code
- remove misleading comments
author | Bernhard Herzog <bh@intevation.de> |
---|---|
date | Thu, 08 Jan 2009 14:26:12 +0000 |
parents | 01c043f13f13 |
children | 653a45adda50 |
line wrap: on
line diff
--- a/test/test_packager.py Wed Jan 07 19:57:46 2009 +0000 +++ b/test/test_packager.py Thu Jan 08 14:26:12 2009 +0000 @@ -178,6 +178,7 @@ def package(self): pass + class StoppingTrack(treepkg.packager.PackageTrack): def __init__(self, do_package, do_stop, instructions_file, name, trackdir): @@ -245,9 +246,6 @@ class TestPackageTrack(unittest.TestCase, FileTestMixin): - # def setUp(self): - # self.trackdir = self.create_temp_dir("track") - def test_get_revision_numbers(self): # Note: The revisions in the pkg dir are not ordered so that we # can check whether get_revision_numbers returns a sorted list @@ -268,13 +266,7 @@ class TestRevisionPackager(unittest.TestCase, FileTestMixin): - # def setUp(self): - # self.trackdir = self.create_temp_dir("track") - def test_list_source_files(self): - # Note: The revisions in the pkg dir are not ordered so that we - # can check whether get_revision_numbers returns a sorted list - # of revisions trackdir = self.create_files("track", [("pkg", [("704195-1", @@ -301,9 +293,6 @@ "test_1.0.orig.tar.gz"]]) def test_list_binary_files(self): - # Note: The revisions in the pkg dir are not ordered so that we - # can check whether get_revision_numbers returns a sorted list - # of revisions trackdir = self.create_files("track", [("pkg", [("704195-1",