diff --git a/tests/unit/plugins/modules/test_start_compose.py b/tests/unit/plugins/modules/test_start_compose.py index b0c390ba..37d97aa2 100644 --- a/tests/unit/plugins/modules/test_start_compose.py +++ b/tests/unit/plugins/modules/test_start_compose.py @@ -40,7 +40,11 @@ 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) - assert not fail_json_obj.value['changed'] + print(fail_json_obj.value) + print(type(fail_json_obj.value)) + print(fail_json_obj.value.changed) + print(type(fail_json_obj.value.changed)) + assert not fail_json_obj.value.changed def test_start_compose_not_supported_image_type():