Skip to content

Commit

Permalink
include IndexError while collect upgrade marks
Browse files Browse the repository at this point in the history
Signed-off-by: vavuthu <vavuthu@redhat.com>
  • Loading branch information
vavuthu authored and openshift-cherrypick-robot committed Oct 16, 2024
1 parent 7e1a0c2 commit 30b353a
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion tests/conftest.py
Original file line number Diff line number Diff line change
Expand Up @@ -1613,7 +1613,7 @@ def upgrade_marks_name():
for upgrade_mark in upgrade_marks:
try:
upgrade_marks_name.append(upgrade_mark().mark.args[1].markname)
except AttributeError:
except (AttributeError, IndexError):
log.error("upgrade mark does not exist")
return upgrade_marks_name

Expand Down

0 comments on commit 30b353a

Please sign in to comment.