Skip to content

Commit

Permalink
Add test
Browse files Browse the repository at this point in the history
  • Loading branch information
benallard committed Oct 23, 2014
1 parent 33540de commit d8c0baf
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions master/buildbot/test/unit/test_schedulers_forcesched.py
Expand Up @@ -579,3 +579,7 @@ def test_listofmixed_properties(self):
codebases=['bar'], username="foo",
properties=[BaseParameter(name="test",),
4567]))

def test_novalue_to_parameter(self):
self.assertRaisesConfigError("Use default='1234' instead of value=... to give a default Parameter value",
lambda: BaseParameter(name="test", value="1234"))

0 comments on commit d8c0baf

Please sign in to comment.