Skip to content
Snippets Groups Projects
Commit 441da0db authored by yvesn's avatar yvesn
Browse files

obis_SSDM-6476: obis - fixing tests

parent edfd84fd
No related branches found
No related tags found
No related merge requests found
...@@ -296,9 +296,12 @@ class ConfigResolver(object): ...@@ -296,9 +296,12 @@ class ConfigResolver(object):
""" This class functions as a wrapper since we have multiple config resolvers. """ """ This class functions as a wrapper since we have multiple config resolvers. """
def __init__(self, location_resolver=None): def __init__(self, location_resolver=None):
self.repository_resolver = ConfigResolverImpl(location_resolver=location_resolver, env=RepositoryEnv(), config_file='repository.json')
# TODO remove config_resolver in the end
self.config_resolver = ConfigResolverImpl(location_resolver=location_resolver, env=ConfigEnv())
self.resolvers = [] self.resolvers = []
self.resolvers.append(ConfigResolverImpl(location_resolver=location_resolver, env=ConfigEnv())) self.resolvers.append(self.config_resolver)
self.resolvers.append(ConfigResolverImpl(location_resolver=location_resolver, env=RepositoryEnv(), config_file='reposiory.json')) self.resolvers.append(self.repository_resolver)
def config_dict(self, local_only=False): def config_dict(self, local_only=False):
combined_dict = {} combined_dict = {}
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment