mirror of
https://github.com/prowler-cloud/prowler.git
synced 2026-10-29 14:54:30 +00:00
test(api): speed up API test suite (#11681)
This commit is contained in:
1 parent
76286f1186
commit
917e5d07ff
2 files changed
+105
No files matched your search
@@ -39,3 +39,7 @@ SIMPLE_JWT["ALGORITHM"] = "HS256" # noqa: F405
|
||||
SIMPLE_JWT["SIGNING_KEY"] = env.str( # noqa: F405
|
||||
"DJANGO_TOKEN_SIGNING_KEY", "insecure-testing-jwt-signing-key-do-not-use-in-prod"
|
||||
)
|
||||
|
||||
# Tests don't need secure password hashing; PBKDF2 (~hundreds of ms per call)
|
||||
# dominates fixture setup time across every create_user()/check_password().
|
||||
PASSWORD_HASHERS = ["django.contrib.auth.hashers.MD5PasswordHasher"]
|
||||
Reference in new issue
Block a user