From 4437ef13b73ebd9c748d1499934e55727dabcd06 Mon Sep 17 00:00:00 2001 From: stedif <stefano.difrischia@inaf.it> Date: Thu, 11 Aug 2022 17:29:01 +0200 Subject: [PATCH] L2SS-780: fix imports --- .../default/prometheus/test_tango_prometheus_client.py | 9 +++++---- 1 file changed, 5 insertions(+), 4 deletions(-) diff --git a/tangostationcontrol/tangostationcontrol/integration_test/default/prometheus/test_tango_prometheus_client.py b/tangostationcontrol/tangostationcontrol/integration_test/default/prometheus/test_tango_prometheus_client.py index 20056c494..857e5830d 100644 --- a/tangostationcontrol/tangostationcontrol/integration_test/default/prometheus/test_tango_prometheus_client.py +++ b/tangostationcontrol/tangostationcontrol/integration_test/default/prometheus/test_tango_prometheus_client.py @@ -7,14 +7,15 @@ # Distributed under the terms of the APACHE license. # See LICENSE.txt for more info. -from tangostationcontrol.integration_test.base import BaseIntegrationTestCase -from tangostationcontrol.integration_test.device_proxy import TestDeviceProxy - -from tango import Database import importlib import sys, os import numpy +from tango import Database + +from tangostationcontrol.integration_test.base import BaseIntegrationTestCase +from tangostationcontrol.integration_test.device_proxy import TestDeviceProxy + module_name = 'ArchiverPolicy' file_path = os.path.join(os.path.realpath('..'), 'docker-compose/tango-prometheus-exporter/code/tango-prometheus-client.py') spec = importlib.util.spec_from_file_location(module_name, file_path) -- GitLab