From a1a5b0661214ffc5b432efb243ffaff198a24b9d Mon Sep 17 00:00:00 2001 From: Santosh Philip Date: Sat, 4 Nov 2023 09:04:02 -0700 Subject: [PATCH] modified: eppy/pytest_helpers.py --- eppy/pytest_helpers.py | 7 ++++++- 1 file changed, 6 insertions(+), 1 deletion(-) diff --git a/eppy/pytest_helpers.py b/eppy/pytest_helpers.py index ea5dc65a..ac6dbf63 100755 --- a/eppy/pytest_helpers.py +++ b/eppy/pytest_helpers.py @@ -32,7 +32,12 @@ def do_integration_tests(): bool """ - result = os.getenv("EPPY_INTEGRATION", False) + try: + result = os.environ["EPPY_INTEGRATION"] + print(f" Actual EPPY_INTEGRATION = {result}") + except KeyError as e: + result = False + # result = os.getenv("EPPY_INTEGRATION", False) if result == "True": # github CI returns strings 9no booleans) result = True print(f" **** EPPY_INTEGRATION = {result}")