Skip to content

CLI tests #162

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 11 commits into from
Oct 20, 2022
Merged

CLI tests #162

merged 11 commits into from
Oct 20, 2022

Conversation

nkrabben
Copy link
Contributor

This is for #161

I ended up noticing a couple of bugs and unclear behaviors, mostly around completeness tests. I changed the requirement for --processes to 1 or more since setting it to 0 make multiproccesing throw errors. I also changed the error message for failed completeness validations to Bag is incomplete to differentiate it from failed hash validations.

The tests are a bit verbose and use nested with's to capture the different outputs. If there is a cleaner way, I'm happy to use that instead.

@nkrabben
Copy link
Contributor Author

Force push because I accidentally committed my test file in a9b769d

@acdha acdha merged commit 4ef98ac into LibraryOfCongress:master Oct 20, 2022
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