def make_service_dict(name, service_dict, working_dir, filename=None):
 resolver = config.ServiceExtendsResolver(config.ServiceConfig(working_dir=working_dir, filename=filename, name=name, config=service_dict), config.ConfigFile(filename=filename, config={}), environment=Environment.from_env_file(working_dir))
 return config.process_service(resolver.run())

def make_service_dict ( name , service_dict , working_dir , filename = None ) : resolver = config . ServiceExtendsResolver ( config . ServiceConfig ( working_dir = working_dir , filename = filename , name = name , config = service_dict ) , config . ConfigFile ( filename = filename , config = { } ) , environment = Environment . from_env_file ( working_dir ) ) return config . process_service ( resolver . run ( ) )
test helper function to construct a serviceextendsresolver .