working_dir is no longer optional

When building test data using make_service_dict, we need to include
working_dir as it is core to some of the functionality of
ServiceLoader.

Signed-off-by: Mazz Mosley <mazz@houseofmnowster.com>
This commit is contained in:
Mazz Mosley 2015-07-03 14:56:18 +01:00
commit 6e6dbdad95
2 changed files with 14 additions and 13 deletions

View file

@ -134,7 +134,7 @@ def load(config_details):
return service_dicts
def make_service_dict(name, service_dict, working_dir=None):
def make_service_dict(name, service_dict, working_dir):
return ServiceLoader(working_dir=working_dir).make_service_dict(name, service_dict)