We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 27bf63c commit 323d394Copy full SHA for 323d394
allure-python-commons/src/utils.py
@@ -395,7 +395,7 @@ def get_testplan():
395
planned_tests = []
396
file_path = os.environ.get("ALLURE_TESTPLAN_PATH")
397
398
- if file_path:
+ if file_path and os.path.exists(file_path):
399
with open(file_path, 'r') as plan_file:
400
plan = json.load(plan_file)
401
planned_tests = plan.get("tests", [])
0 commit comments