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

speed up unit tests #1215

Merged
merged 1 commit into from
Aug 12, 2023
Merged

Conversation

azmeuk
Copy link
Contributor

@azmeuk azmeuk commented Aug 12, 2023

Adds two configuration parameters that are passed to generate_password_hash:

  • PASSWORD_HASH_METHOD
  • PASSWORD_HASH_SALT_LENGTH

The unit tests use high-speed low-security values and gain 50% speed.

fixes #1214

Adds two configuration parameters that are passed to
generate_password_hash:

- PASSWORD_HASH_METHOD
- PASSWORD_HASH_SALT_LENGTH

The unit tests use high-speed low-security values and
gain 50% speed.
@almet
Copy link
Member

almet commented Aug 12, 2023

This is neat. Well done. Thanks!

@almet almet merged commit 857ca2d into spiral-project:master Aug 12, 2023
@azmeuk azmeuk deleted the issue-1214-faster-unit-tests branch August 12, 2023 23:50
TomRoussel pushed a commit to TomRoussel/ihatemoney that referenced this pull request Mar 2, 2024
Adds two configuration parameters that are passed to
generate_password_hash:

- PASSWORD_HASH_METHOD
- PASSWORD_HASH_SALT_LENGTH

The unit tests use high-speed low-security values and
gain 50% speed.
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.

unit tests are slow
2 participants