From a544ce8e590bf0bcb9885db93275904d87edeb00 Mon Sep 17 00:00:00 2001 From: shivamcandela Date: Sat, 4 Dec 2021 00:45:23 +0530 Subject: [PATCH] Fixed the imports in test_ip_variable_time Signed-off-by: shivamcandela --- py-scripts/test_ip_variable_time.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/py-scripts/test_ip_variable_time.py b/py-scripts/test_ip_variable_time.py index f3052732..0657c0fc 100755 --- a/py-scripts/test_ip_variable_time.py +++ b/py-scripts/test_ip_variable_time.py @@ -38,8 +38,8 @@ sys.path.append(os.path.join(os.path.abspath(__file__ + "../../../"))) LFUtils = importlib.import_module("py-json.LANforge.LFUtils") realm = importlib.import_module("py-json.realm") Realm = realm.Realm -sys.path.append("../py-dashboard") -from InfluxRequest import RecordInflux +InfluxRequest = importlib.import_module('py-dashboard.InfluxRequest') +RecordInflux = InfluxRequest.RecordInflux class IPVariableTime(Realm):