diff --git a/tests/unit/aws/test_access.py b/tests/unit/aws/test_access.py index 7fa250e345..4f856420c4 100644 --- a/tests/unit/aws/test_access.py +++ b/tests/unit/aws/test_access.py @@ -476,8 +476,6 @@ def test_create_uc_role_multiple_raises_error(mock_ws, installation_single_role, aws.list_all_uc_roles.return_value = [] with pytest.raises(PermissionDenied): role_creation.run(MockPrompts({"Above *": "yes"}), single_role=False) - assert call('UC_ROLE_BUCKET4') in aws.create_uc_role.call_args_list - assert call('UC_ROLE_BUCKET2') in aws.create_uc_role.call_args_list aws.delete_role.assert_called_once()