Skip to content

Commit

Permalink
hack: temporarily checking the __str__ of the exception
Browse files Browse the repository at this point in the history
  • Loading branch information
jharmison-redhat committed Oct 18, 2023
1 parent e63a2fd commit f5e88c3
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions tests/unit/plugins/modules/test_start_compose.py
Original file line number Diff line number Diff line change
Expand Up @@ -40,6 +40,7 @@ def test_start_compose_not_valid_image_type():
with pytest.raises(AnsibleFailJson) as fail_json_obj:
start_compose(module, weldr=weldr)
assert "not a valid image type" in str(fail_json_obj)
print(str(fail_json_obj))
assert not fail_json_obj['changed']


Expand Down

0 comments on commit f5e88c3

Please sign in to comment.