Skip to content

test: Required encryption context CMM integration tests #691

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

Merged
merged 18 commits into from
Aug 16, 2024

Conversation

lucasmcdonald3
Copy link
Contributor

Issue #, if available:

Description of changes:

By submitting this pull request, I confirm that my contribution is made under the terms of the Apache 2.0 license.

Check any applicable:

  • Were any files moved? Moving files changes their URL, which breaks all hyperlinks to the files.

Base automatically changed from lucmcdon/mpl-v2 to mpl-reviewed August 5, 2024 19:24
@lucasmcdonald3 lucasmcdonald3 marked this pull request as ready for review August 6, 2024 16:32
@lucasmcdonald3 lucasmcdonald3 requested a review from a team as a code owner August 6, 2024 16:32
Comment on lines 237 to 239
# This test needs >1 item to supply as required encryption context
if len(encryption_context) < 1:
return
Copy link
Contributor

Choose a reason for hiding this comment

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

I like this, but... shouldn't this be a failure? It would not be good to have this test pass because it is never run. Or do I not understand how this framwork works?

Copy link
Contributor Author

Choose a reason for hiding this comment

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

Refactored this, the conditions are now implicit in the test parameters.

Copy link
Contributor

@seebees seebees left a comment

Choose a reason for hiding this comment

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

Looks good!

@lucasmcdonald3 lucasmcdonald3 merged commit 1c73a65 into mpl-reviewed Aug 16, 2024
227 checks passed
@lucasmcdonald3 lucasmcdonald3 deleted the cmmtest branch August 16, 2024 22:27
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