Based on this comment:
#60 (comment)
We can add an integration test that covers the support for alternate checksum algorithms.
Currently, we say we can support algorithms supplied by hashlib, but that's not true for those that require a length parameter.
A proposal would be to list the algorithms in hashlib, and then just exclude those specialized algorithms that require a length parameter, and others that have optional length parameters are only supported at the default length.
(As called out in sum-buddy)
And validate that the user input is supported with choices, raising a specific error if an unsupported entry is passed.
Based on this comment:
#60 (comment)
We can add an integration test that covers the support for alternate checksum algorithms.
Currently, we say we can support algorithms supplied by hashlib, but that's not true for those that require a length parameter.
A proposal would be to list the algorithms in hashlib, and then just exclude those specialized algorithms that require a length parameter, and others that have optional length parameters are only supported at the default length.
(As called out in sum-buddy)
And validate that the user input is supported with
choices, raising a specific error if an unsupported entry is passed.