Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Update policy check tests #1979

Merged
merged 2 commits into from
Aug 20, 2024
Merged

Conversation

Dhwaniartefact
Copy link
Contributor

No description provided.

Copy link
Member

@replaceafill replaceafill left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

This looks good @Dhwaniartefact. Could you please also add some assertions to test_policy_checker_checks_manually_normalized_access_derivative_file that guarantee it's actually doing what you expect? It ends with job.set_status.assert_called_once_with(policy_check.SUCCESS_CODE) and by this point we know that might not be accurate because of NOT_APPLICABLE_CODE.

tests/MCPClient/test_policy_check.py Outdated Show resolved Hide resolved
@Dhwaniartefact Dhwaniartefact merged commit 82be9b0 into qa/1.x Aug 20, 2024
26 checks passed
@Dhwaniartefact Dhwaniartefact deleted the dev/extend-test-coverage-policy-check branch August 20, 2024 15:24
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants