diff test/test_readconfig.py @ 341:dc079231a062

Changed testmessages to use the correct types
author Andre Heinecke <aheinecke@intevation.de>
date Thu, 15 Apr 2010 14:53:31 +0000
parents 23be5ab5bc7c
children f06f707d9fda
line wrap: on
line diff
--- a/test/test_readconfig.py	Thu Apr 15 14:52:35 2010 +0000
+++ b/test/test_readconfig.py	Thu Apr 15 14:53:31 2010 +0000
@@ -28,7 +28,7 @@
 pbuilderrc: %(pbuilder_dir)s/pbuilderrc
 deb_email: treepkg@example.com
 deb_fullname: TreePKG
-pkg_revision_template: treepkg%%(pkg_revision)d
+pkg_revision_template: treepkg%%(pkg_revision)s
 handle_dependencies: False
 
 [treepkg]
@@ -42,7 +42,7 @@
 packager_class: readconfig_test.%(name)s
 handle_dependencies: True
 signing_key_id: abcd1234
-changelog_msg_template: Update to feature branch r%%(revision)d
+changelog_msg_template: Update to feature branch r%%(revision)s
 version_template: 1.0.svn%%(revision)s
 
 [pkg_extraargs]
@@ -88,11 +88,11 @@
                           [
             dict(name="extraargs",
                  base_dir="/home/builder/mill/tracks/extraargs",
-                 changelog_msg_template="Update to revision %(revision)d",
+                 changelog_msg_template="Update to revision %(revision)s",
                  deb_email="treepkg@example.com",
                  deb_fullname="TreePKG",
                  deb_build_options="parallel=2",
-                 pkg_revision_template="treepkg%(pkg_revision)d",
+                 pkg_revision_template="treepkg%(pkg_revision)s",
                  handle_dependencies=False,
                  packager_class="readconfig_test.extraargs",
                  pbuilderrc="/home/builder/mill/pbuilder/pbuilderrc",
@@ -114,12 +114,12 @@
             dict(name="simple",
                  base_dir="/home/builder/mill/tracks/simple",
                  changelog_msg_template=("Update to feature branch"
-                                         " r%(revision)d"),
+                                         " r%(revision)s"),
                  deb_email="treepkg@example.com",
                  deb_fullname="TreePKG",
                  deb_build_options="",
                  rules_svn_url="",
-                 pkg_revision_template="treepkg%(pkg_revision)d",
+                 pkg_revision_template="treepkg%(pkg_revision)s",
                  handle_dependencies=True,
                  packager_class="readconfig_test.simple",
                  pbuilderrc="/home/builder/mill/pbuilder/pbuilderrc",
This site is hosted by Intevation GmbH (Datenschutzerklärung und Impressum | Privacy Policy and Imprint)