Skip to content

Commit

Permalink
Fix the tests.
Browse files Browse the repository at this point in the history
  • Loading branch information
benallard committed Oct 22, 2014
1 parent 849c885 commit 179d7a8
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion master/buildbot/test/unit/test_schedulers_forcesched.py
Expand Up @@ -250,7 +250,7 @@ def test_bad_codebases(self):
codebases=[IntParameter('foo')],))

# codebases cannot be empty
self.assertRaisesConfigError("ForceScheduler: 'codebases' cannot be empty; use CodebaseParameter(codebase='', hide=True) if needed:",
self.assertRaisesConfigError("ForceScheduler: 'codebases' cannot be empty; use [CodebaseParameter(codebase='', hide=True)] if needed:",
lambda: ForceScheduler(name='foo',
builderNames=['bar'],
codebases=[]))
Expand Down

0 comments on commit 179d7a8

Please sign in to comment.