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

Increase test coverage for signing module. #69

Merged
merged 1 commit into from
Aug 21, 2023
Merged

Conversation

jezdez
Copy link
Member

@jezdez jezdez commented Aug 17, 2023

Description

Checklist - did you ...

  • [ ] Add a file to the news directory (using the template) for the next release's release notes?
  • Add / update necessary tests?
  • [ ] Add / update outdated documentation?

@conda-bot conda-bot added the cla-signed [bot] added once the contributor has signed the CLA label Aug 17, 2023
Comment on lines +132 to +134
assert set(repodata["packages"].keys()) | set(
repodata["packages.conda"].keys()
) == set(repodata_signed["signatures"].keys())
Copy link
Contributor

Choose a reason for hiding this comment

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

does this mean v1 and v2 packages have identical signatures?

Suggested change
assert set(repodata["packages"].keys()) | set(
repodata["packages.conda"].keys()
) == set(repodata_signed["signatures"].keys())
assert {
*repodata["packages"].keys(),
*repodata["packages.conda"].keys(),
} == set(repodata_signed["signatures"].keys())

Copy link
Contributor

Choose a reason for hiding this comment

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

Looks like it means the keys are the same but not the values.

@dholth dholth merged commit a6cb2ba into main Aug 21, 2023
16 checks passed
@dholth dholth deleted the test-coverage-signing branch August 21, 2023 15:31
@github-actions github-actions bot added the locked [bot] locked due to inactivity label Aug 21, 2024
@github-actions github-actions bot locked as resolved and limited conversation to collaborators Aug 21, 2024
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
cla-signed [bot] added once the contributor has signed the CLA locked [bot] locked due to inactivity
Projects
Archived in project
Development

Successfully merging this pull request may close these issues.

4 participants