Move make_service_dict out of config
This top level function is a test helper, so I've moved it into the config_test file and updated accordingly. Signed-off-by: Mazz Mosley <mazz@houseofmnowster.com>
This commit is contained in:
parent
6e6dbdad95
commit
317bbec98c
3 changed files with 40 additions and 35 deletions
|
|
@ -134,10 +134,6 @@ def load(config_details):
|
|||
return service_dicts
|
||||
|
||||
|
||||
def make_service_dict(name, service_dict, working_dir):
|
||||
return ServiceLoader(working_dir=working_dir).make_service_dict(name, service_dict)
|
||||
|
||||
|
||||
class ServiceLoader(object):
|
||||
def __init__(self, working_dir, filename=None, already_seen=None):
|
||||
self.working_dir = os.path.abspath(working_dir)
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue