From 50e643946141c192f131a80d30e00ce3a7c4cfa4 Mon Sep 17 00:00:00 2001 From: Praveen Chaudhary Date: Tue, 15 Dec 2020 22:20:12 -0800 Subject: [PATCH] trial fix to resolve failures --- tests/config_dpb_test.py | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) diff --git a/tests/config_dpb_test.py b/tests/config_dpb_test.py index 4548028a37..4977c9ffd1 100644 --- a/tests/config_dpb_test.py +++ b/tests/config_dpb_test.py @@ -7,11 +7,10 @@ from click.testing import CliRunner from utilities_common.db import Db -import show.main as show import config.main as config load_source('sonic_cfggen', '/usr/local/bin/sonic-cfggen') -from sonic_cfggen import deep_update, FormatConverter, sort_data +from sonic_cfggen import deep_update, FormatConverter load_source('config_mgmt', \ os.path.join(os.path.dirname(__file__), '..', 'config', 'config_mgmt.py')) @@ -466,7 +465,6 @@ def teardown_class(cls): print("TEARDOWN") os.system("rm /tmp/startConfigDb.json") os.system("rm /tmp/portBreakOutConfigDb.json") - os.environ["PATH"] = os.pathsep.join(os.environ["PATH"].split(os.pathsep)[:-1]) os.environ["UTILITIES_UNIT_TESTING"] = "0" return