From 793a645c8e5bafc0431a8906f7b8b69e26079227 Mon Sep 17 00:00:00 2001
From: stedif <stefano.difrischia@inaf.it>
Date: Tue, 9 Aug 2022 16:42:09 +0200
Subject: [PATCH] L2SS-780: test correct remote path

---
 .../test/prometheus/test_archiver_policy.py                   | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/tangostationcontrol/tangostationcontrol/test/prometheus/test_archiver_policy.py b/tangostationcontrol/tangostationcontrol/test/prometheus/test_archiver_policy.py
index d7766169b..9baf490c2 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 """
-- 
GitLab