diff --git a/show/system_health.py b/show/system_health.py index a97214e76a..08e9e70594 100644 --- a/show/system_health.py +++ b/show/system_health.py @@ -7,7 +7,7 @@ def get_system_health_status(): - if os.environ["UTILITIES_UNIT_TESTING"] == "1": + if os.environ.get("UTILITIES_UNIT_TESTING") == "1": modules_path = os.path.join(os.path.dirname(__file__), "..") sys.path.insert(0, modules_path) from tests.system_health_test import MockerManager