diff --git a/tangostationcontrol/tangostationcontrol/test/prometheus/test_archiver_policy.py b/tangostationcontrol/tangostationcontrol/test/prometheus/test_archiver_policy.py index d7766169b7a7e54017b2a725d2eea5d58f5cbf44..9baf490c2a54e8d975f1d57004dcda7e565299c0 100644 --- a/tangostationcontrol/tangostationcontrol/test/prometheus/test_archiver_policy.py +++ b/tangostationcontrol/tangostationcontrol/test/prometheus/test_archiver_policy.py @@ -14,7 +14,7 @@ import sys #tpc = importlib.import_module('tango-prometheus-client') import importlib.util module_name = 'ArchiverPolicy' -file_path = '/opt/lofar/tango/docker-compose/tango-prometheus-exporter/code/tango-prometheus-client.py' +file_path = '/tango/docker-compose/tango-prometheus-exporter/code/tango-prometheus-client.py' spec = importlib.util.spec_from_file_location(module_name, file_path) tpc = importlib.util.module_from_spec(spec) sys.modules[module_name] = tpc @@ -22,7 +22,7 @@ spec.loader.exec_module(tpc) class TestArchiverPolicy(base.TestCase): - CONFIG = tpc.ArchiverPolicy.load_config('/opt/lofar/tango/docker-compose/tango-prometheus-exporter/lofar2-policy.json') + CONFIG = tpc.ArchiverPolicy.load_config('/tango/docker-compose/tango-prometheus-exporter/lofar2-policy.json') def test_config_file(self): """ Test if policy config file is correctly retrieved """