Mercurial > treepkg
changeset 403:f9cd55aea87d treepkg-status
updated test readconfig for os config variable
author | Bjoern Ricks <bricks@intevation.de> |
---|---|
date | Tue, 13 Jul 2010 12:23:28 +0000 |
parents | 01c059298906 |
children | a798edae0844 |
files | test/test_readconfig.py |
diffstat | 1 files changed, 6 insertions(+), 2 deletions(-) [+] |
line wrap: on
line diff
--- a/test/test_readconfig.py Mon Jul 12 15:47:42 2010 +0000 +++ b/test/test_readconfig.py Tue Jul 13 12:23:28 2010 +0000 @@ -45,6 +45,7 @@ signing_key_id: abcd1234 changelog_msg_template: Update to feature branch r%%(revision)s version_template: 1.0.svn%%(revision)s +os: foo os [pkg_extraargs] svn_url: svn://example.com/%(name)s/trunk @@ -56,6 +57,7 @@ orig_tarball: %(base_dir)s/mytarball.tgz rules_svn_url: file:///tmp/my-debian-repository deb_build_options: parallel=2 +os: bar os """ files = [("treepkg.cfg", config_contents), @@ -115,7 +117,8 @@ "tracks/extraargs/mytarball.tgz"), git_url="", git_branch="", - builder_cls="PBuilder"), + builder_cls="PBuilder", + os="bar os"), dict(name="simple", base_dir="/home/builder/mill/tracks/simple", changelog_msg_template=("Update to feature branch" @@ -137,7 +140,8 @@ version_template="1.0.svn%(revision)s", git_url="", git_branch="", - builder_cls="PBuilder")]) + builder_cls="PBuilder", + os="foo os")]) def main(): unittest.main()