File tree Expand file tree Collapse file tree 1 file changed +6
-6
lines changed Expand file tree Collapse file tree 1 file changed +6
-6
lines changed Original file line number Diff line number Diff line change @@ -633,12 +633,12 @@ def pytest_runtest_makereport(item, call):
633
633
# The id of the test is deteremined by its parameterization. We just want to know if the test was
634
634
# for Viya 3.5 or 2020.01, 2022.09, etc. Try to check the parameter assigned to known fixtures like
635
635
# `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
642
642
643
643
# Track that this test was the last test to fail for this Viya version
644
644
parent ._previousfailed [key ] = item
You can’t perform that action at this time.
0 commit comments