[Treepkg-commits] r149 - trunk/test

scm-commit@wald.intevation.org scm-commit at wald.intevation.org
Thu Jan 8 15:26:12 CET 2009


Author: bh
Date: 2009-01-08 15:26:12 +0100 (Thu, 08 Jan 2009)
New Revision: 149

Modified:
   trunk/test/test_packager.py
Log:
some cosmetic changes:
 - remove commented out code
 - remove misleading comments


Modified: trunk/test/test_packager.py
===================================================================
--- trunk/test/test_packager.py	2009-01-07 19:57:46 UTC (rev 148)
+++ trunk/test/test_packager.py	2009-01-08 14:26:12 UTC (rev 149)
@@ -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",



More information about the Treepkg-commits mailing list