changeset 326:23be5ab5bc7c

Modified tests for Git
author Andre Heinecke <aheinecke@intevation.de>
date Wed, 17 Mar 2010 13:38:37 +0000
parents 85b5667f543e
children f5282057838a
files test/test_packager.py test/test_readconfig.py
diffstat 2 files changed, 7 insertions(+), 3 deletions(-) [+]
line wrap: on
line diff
--- a/test/test_packager.py	Wed Mar 17 11:23:40 2010 +0000
+++ b/test/test_packager.py	Wed Mar 17 13:38:37 2010 +0000
@@ -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):
--- a/test/test_readconfig.py	Wed Mar 17 11:23:40 2010 +0000
+++ b/test/test_readconfig.py	Wed Mar 17 13:38:37 2010 +0000
@@ -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="")])
This site is hosted by Intevation GmbH (Datenschutzerklärung und Impressum | Privacy Policy and Imprint)