diff test/test_readconfig.py @ 234:eaa696629a91

Add a way to specify the svn URL of the repository with the debian rules subdirectory and use to checkout and update the debian directory of a PackageTrack. Update the tests.
author Bernhard Herzog <bh@intevation.de>
date Tue, 13 Jan 2009 16:18:58 +0000
parents e1c7cd896310
children faeeac2c4c71
line wrap: on
line diff
--- a/test/test_readconfig.py	Tue Jan 13 15:03:21 2009 +0000
+++ b/test/test_readconfig.py	Tue Jan 13 16:18:58 2009 +0000
@@ -1,4 +1,4 @@
-# Copyright (C) 2008 by Intevation GmbH
+# Copyright (C) 2008, 2009 by Intevation GmbH
 # Authors:
 # Bernhard Herzog <bh@intevation.de>
 #
@@ -47,6 +47,7 @@
 base_dir: %(tracks_dir)s/%(name)s
 packager_class: readconfig_test.extraargs
 orig_tarball: %(base_dir)s/mytarball.tgz
+rules_svn_url: file:///tmp/my-debian-repository
 """
 
     files = [("treepkg.cfg", config_contents),
@@ -89,12 +90,14 @@
                  root_cmd=['sudo'],
                  signing_key_id="",
                  svn_url="svn://example.com/extraargs/trunk",
+                 rules_svn_url="file:///tmp/my-debian-repository",
                  orig_tarball=("/home/builder/mill/"
                                "tracks/extraargs/mytarball.tgz")),
             dict(name="simple",
                  base_dir="/home/builder/mill/tracks/simple",
                  deb_email="treepkg@example.com",
                  deb_fullname="TreePKG",
+                 rules_svn_url="",
                  debrevision_prefix="treepkg",
                  handle_dependencies=True,
                  packager_class="readconfig_test.simple",
This site is hosted by Intevation GmbH (Datenschutzerklärung und Impressum | Privacy Policy and Imprint)