[Treepkg-commits] r252 - trunk/test

scm-commit@wald.intevation.org scm-commit at wald.intevation.org
Wed Mar 17 14:38:39 CET 2010


Author: aheinecke
Date: 2010-03-17 14:38:37 +0100 (Wed, 17 Mar 2010)
New Revision: 252

Modified:
   trunk/test/test_packager.py
   trunk/test/test_readconfig.py
Log:
Modified tests for Git


Modified: trunk/test/test_packager.py
===================================================================
--- trunk/test/test_packager.py	2010-03-17 11:23:40 UTC (rev 251)
+++ trunk/test/test_packager.py	2010-03-17 13:38:37 UTC (rev 252)
@@ -260,7 +260,7 @@
                                           ("binary", [])])])])
         track = PackageTrack("testtrack", trackdir, "", "", "", "", "")
         self.assertEquals(track.get_revision_numbers(),
-                          [(702432, 2), (704195, 0)])
+                          [("702432", 2), ("704195", 0)])
 
 
 class TestRevisionPackager(unittest.TestCase, FileTestMixin):

Modified: trunk/test/test_readconfig.py
===================================================================
--- trunk/test/test_readconfig.py	2010-03-17 11:23:40 UTC (rev 251)
+++ trunk/test/test_readconfig.py	2010-03-17 13:38:37 UTC (rev 252)
@@ -108,7 +108,9 @@
                  rules_svn_url="file:///tmp/my-debian-repository",
                  version_template="%(revision)s",
                  orig_tarball=("/home/builder/mill/"
-                               "tracks/extraargs/mytarball.tgz")),
+                               "tracks/extraargs/mytarball.tgz"),
+                 git_url="",
+                 git_branch=""),
             dict(name="simple",
                  base_dir="/home/builder/mill/tracks/simple",
                  changelog_msg_template=("Update to feature branch"
@@ -127,4 +129,6 @@
                  svn_externals=[],
                  svn_subset=[],
                  svn_url="svn://example.com/simple/trunk",
-                 version_template="1.0.svn%(revision)s")])
+                 version_template="1.0.svn%(revision)s",
+                 git_url="",
+                 git_branch="")])



More information about the Treepkg-commits mailing list