Skip to content

Conversation

jonasbardino
Copy link
Contributor

@jonasbardino jonasbardino commented Oct 12, 2025

Significantly improve test coverage and add fixed string checks for basic functionality of several of the pwcrypto helper functions as suggested by @albu-diku in the comments to PR #343 .
Some of the new tests require adjustment of the helper functions to expose the random seed as argument, so they have been left disabled with TODO markers for now.

…rypto

helper functions as suggested by @albu-diku in the comments to PR343.
Some of the tests require adjustment of the helper functions to expose the
random seed as argument, so they have been left disabled for now.
@jonasbardino jonasbardino self-assigned this Oct 12, 2025
@jonasbardino jonasbardino added the test-only Improvements or additions solely for better test coverage - without functionality changes label Oct 12, 2025
…lf-tests,

like it's the case e.g. for `userio`, and integrate running it in unit testing.

Added a lot of unit tests to cover almost all functions in `pwcrypto` and to
include more tests of fundamental functionality against fixed known values as
suggested in PR343 discussion.
A few tests will require API changes to pass a random seed to allow that and
have been left as disabled for now with TODO comments added.
@jonasbardino jonasbardino changed the title Add fixed string checks for basic functionality of several of the pwcrypto helpers Improved coverage and fixed string checks for basic functionality of several of the pwcrypto helpers Oct 13, 2025
…and latest

stable py3. I can't see why `site_password_legacy_policy` is any different from
e.g. `site_password_policy`, which does NOT trigger the same pylint error :-s
@jonasbardino jonasbardino marked this pull request as ready for review October 13, 2025 10:03
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

test-only Improvements or additions solely for better test coverage - without functionality changes

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant