Mercurial > treepkg
changeset 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 | 5fda6768bef6 |
children | e4c0beab5328 |
files | test/test_readconfig.py |
diffstat | 1 files changed, 6 insertions(+), 2 deletions(-) [+] |
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()