Fixed a test

This commit is contained in:
Anton Beloglazov 2012-10-04 17:54:13 +10:00
parent 496b98e2f4
commit 1643031b6e

View File

@ -45,7 +45,7 @@ class Collector(TestCase):
fields = collector.REQUIRED_FIELDS fields = collector.REQUIRED_FIELDS
expect(collector).read_and_validate_config(paths, fields). \ expect(collector).read_and_validate_config(paths, fields). \
and_return(config).once() and_return(config).once()
expect(common).init_logging('dir', 'collector.log', 2).once() expect(common).init_logging('dir', 'data-collector.log', 2).once()
expect(common).start(collector.init_state, expect(common).start(collector.init_state,
collector.execute, collector.execute,
config, config,