diff test/test_readconfig.py @ 465:296d26453e2a

Update test_readconfig for additional config parameters
author Andre Heinecke <aheinecke@intevation.de>
date Thu, 09 Sep 2010 14:26:59 +0000
parents f9cd55aea87d
children e5b66539f893
line wrap: on
line diff
--- a/test/test_readconfig.py	Thu Sep 09 14:26:35 2010 +0000
+++ b/test/test_readconfig.py	Thu Sep 09 14:26:59 2010 +0000
@@ -46,6 +46,7 @@
 changelog_msg_template: Update to feature branch r%%(revision)s
 version_template: 1.0.svn%%(revision)s
 os: foo os
+status_hook: echo simple hook
 
 [pkg_extraargs]
 svn_url: svn://example.com/%(name)s/trunk
@@ -58,6 +59,7 @@
 rules_svn_url: file:///tmp/my-debian-repository
 deb_build_options: parallel=2
 os: bar os
+status_hook: echo extra hook
 """
 
     files = [("treepkg.cfg", config_contents),
@@ -118,7 +120,8 @@
                  git_url="",
                  git_branch="",
                  builder_cls="PBuilder",
-                 os="bar os"),
+                 os="bar os",
+                 status_hook="echo extra hook"),
             dict(name="simple",
                  base_dir="/home/builder/mill/tracks/simple",
                  changelog_msg_template=("Update to feature branch"
@@ -141,7 +144,8 @@
                  git_url="",
                  git_branch="",
                  builder_cls="PBuilder",
-                 os="foo os")])
+                 os="foo os",
+                 status_hook="echo simple hook")])
 
 def main():
     unittest.main()
This site is hosted by Intevation GmbH (Datenschutzerklärung und Impressum | Privacy Policy and Imprint)