-
Notifications
You must be signed in to change notification settings - Fork 165
[1LP][RFR] Fixing jenkins failure #10012
[1LP][RFR] Fixing jenkins failure #10012
Conversation
04416e0
to
de9cbb9
Compare
table_hover=True, security_group=True) | ||
assert not DeepDiff(actual_attributes, expected_attributes) | ||
|
||
soft_assert(expected_attributes["security_group"] == security_group) |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Why are you using soft_assert here instead of assert?
From what I understand, you only use soft_assert when you have to assert more than 1 statement in a single test to pass and you don't want your test to break in the middle if any one of the assert statements fails.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
down the line we have one more assert which is why i have used soft_assert above.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Looks good 👍 , Only implement Parthvi's comments
Signed-off-by: mnadeem92 <[email protected]>
de9cbb9
to
0ac71c4
Compare
Signed-off-by: mnadeem92 [email protected]
{{ pytest: cfme/tests/v2v/test_csv_import.py -k "test_csv_security_group_flavor" --use-provider osp13-ims --use-provider vsphere67-ims --provider-limit 2 -v }}