From 4870a86a5a359baf483296f5b42291d86516662b Mon Sep 17 00:00:00 2001 From: Ramesh Raghupathy Date: Wed, 4 Sep 2024 14:45:10 -0700 Subject: [PATCH] Resolved SA issues --- tests/system_health_test.py | 5 +---- 1 file changed, 1 insertion(+), 4 deletions(-) diff --git a/tests/system_health_test.py b/tests/system_health_test.py index d53a60e20d..ba17f0928a 100644 --- a/tests/system_health_test.py +++ b/tests/system_health_test.py @@ -1,7 +1,6 @@ import sys import os -# TBD: uncomment in phase:2 when system-health is supported -# from unittest import mock +from unittest import mock import click from click.testing import CliRunner @@ -352,7 +351,6 @@ def teardown_class(cls): os.environ["PATH"] = os.pathsep.join(os.environ["PATH"].split(os.pathsep)[:-1]) os.environ["UTILITIES_UNIT_TESTING"] = "0" - def test_health_dpu(self): conn = dbconnector.SonicV2Connector() conn.connect(conn.CHASSIS_STATE_DB) @@ -381,7 +379,6 @@ def test_health_dpu(self): result = runner.invoke(show.cli.commands["system-health"].commands["dpu"], ["DPU0"]) click.echo(result.output) - ''' # # TBD: Uncomment this code in phase:2 when system-health is supported