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 9d06853 commit 0880489Copy full SHA for 0880489
tests/conftest.py
@@ -639,10 +639,11 @@ def pytest_runtest_makereport(item, call):
639
# elif "cas_session" in item.callspec.params:
640
# key = item.callspec.params["cas_session"]
641
# else:
642
- key = item.callspec.id
+ if hasattr(item, "callspec"):
643
+ key = item.callspec.id
644
- # Track that this test was the last test to fail for this Viya version
645
- parent._previousfailed[key] = item
+ # Track that this test was the last test to fail for this Viya version
646
+ parent._previousfailed[key] = item
647
648
649
def pytest_runtest_setup(item):
0 commit comments