Fixed a test
This commit is contained in:
parent
496b98e2f4
commit
1643031b6e
@ -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,
|
||||||
|
Loading…
x
Reference in New Issue
Block a user