Skip to content

Commit

Permalink
Fixed issue with unit test
Browse files Browse the repository at this point in the history
  • Loading branch information
FastLee committed Jan 13, 2025
1 parent d145c31 commit aaa0636
Showing 1 changed file with 0 additions and 2 deletions.
2 changes: 0 additions & 2 deletions tests/unit/aws/test_access.py
Original file line number Diff line number Diff line change
Expand Up @@ -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()


Expand Down

0 comments on commit aaa0636

Please sign in to comment.