Skip to content

Commit 7ed125f

Browse files
committed
change to conftest.py to try to fix issues with GitHub actions
1 parent a73c6c2 commit 7ed125f

File tree

1 file changed

+6
-6
lines changed

1 file changed

+6
-6
lines changed

tests/conftest.py

Lines changed: 6 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -633,12 +633,12 @@ def pytest_runtest_makereport(item, call):
633633
# The id of the test is deteremined by its parameterization. We just want to know if the test was
634634
# for Viya 3.5 or 2020.01, 2022.09, etc. Try to check the parameter assigned to known fixtures like
635635
# `session`. If that fails, we'll just use the id generated by pytest.
636-
if "session" in item.callspec.params:
637-
key = item.callspec.params["session"]
638-
elif "cas_session" in item.callspec.params:
639-
key = item.callspec.params["cas_session"]
640-
else:
641-
key = item.callspec.id
636+
# if "session" in item.callspec.params:
637+
# key = item.callspec.params["session"]
638+
# elif "cas_session" in item.callspec.params:
639+
# key = item.callspec.params["cas_session"]
640+
# else:
641+
key = item.callspec.id
642642

643643
# Track that this test was the last test to fail for this Viya version
644644
parent._previousfailed[key] = item

0 commit comments

Comments
 (0)