1 ROOT: tox-gh-actions won't override envlist because tox is not running in GitHub Actions
2 py$(PYV): remove tox env folder $(@D)/.tox/py$(PYV)
3 py$(PYV): commands[0]> python -m pytest
4 ============================= test session starts ==============================
5 platform sunos5 -- Python $(PYTHON_VERSION).X -- $(@D)/.tox/py$(PYV)/bin/python
6 cachedir: .tox/py$(PYV)/.pytest_cache
7 hypothesis profile 'default' -> database=DirectoryBasedExampleDatabase('$(@D)/.hypothesis/examples')
9 configfile: pyproject.toml
12 collecting ... collected 74 items
14 tests/test_legacy.py::TestHash::test_hash_defaults PASSED
15 tests/test_legacy.py::TestHash::test_hash_fast PASSED
16 tests/test_legacy.py::TestHash::test_hash_nul_bytes PASSED
17 tests/test_legacy.py::TestHash::test_hash_password[Type.D-$argon2d$v=19$m=65536,t=2,p=4$c29tZXNhbHQ$cZn5d+rFh+ZfuRhm2iGUGgcrW5YLeM6q7L3vBsdmFA0] PASSED
18 tests/test_legacy.py::TestHash::test_hash_password[Type.I-$argon2i$v=19$m=65536,t=2,p=4$c29tZXNhbHQ$IMit9qkFULCMA/ViizL57cnTLOa5DiVM9eMwpAvPwr4] PASSED
19 tests/test_legacy.py::TestHash::test_hash_password[Type.ID-$argon2id$v=19$m=65536,t=2,p=4$c29tZXNhbHQ$GpZ3sK/oH9p7VIiV56G/64Zo/8GaUw434IimaPqxwCo] PASSED
20 tests/test_legacy.py::TestHash::test_hash_password_raw[Type.D-q\x99\xf9w\xea\xc5\x87\xe6_\xb9\x18f\xda!\x94\x1a\x07+[\x96\x0bx\xce\xaa\xec\xbd\xef\x06\xc7f\x14\r] PASSED
21 tests/test_legacy.py::TestHash::test_hash_password_raw[Type.I- \xc8\xad\xf6\xa9\x05P\xb0\x8c\x03\xf5b\x8b2\xf9\xed\xc9\xd3,\xe6\xb9\x0e%L\xf5\xe30\xa4\x0b\xcf\xc2\xbe] PASSED
22 tests/test_legacy.py::TestHash::test_hash_password_raw[Type.ID-\x1a\x96w\xb0\xaf\xe8\x1f\xda{T\x88\x95\xe7\xa1\xbf\xeb\x86h\xff\xc1\x9aS\x0e7\xe0\x88\xa6h\xfa\xb1\xc0*] PASSED
23 tests/test_legacy.py::TestHash::test_hash_wrong_arg_type PASSED
24 tests/test_legacy.py::TestHash::test_illegal_argon2_parameter PASSED
25 tests/test_legacy.py::TestHash::test_random_salt PASSED
26 tests/test_legacy.py::TestHash::test_raw_defaults PASSED
27 tests/test_legacy.py::TestVerify::test_fail_wrong_argon2_type PASSED
28 tests/test_legacy.py::TestVerify::test_success[Type.D-$argon2d$v=19$m=65536,t=2,p=4$c29tZXNhbHQ$cZn5d+rFh+ZfuRhm2iGUGgcrW5YLeM6q7L3vBsdmFA0] PASSED
29 tests/test_legacy.py::TestVerify::test_success[Type.I-$argon2i$v=19$m=65536,t=2,p=4$c29tZXNhbHQ$IMit9qkFULCMA/ViizL57cnTLOa5DiVM9eMwpAvPwr4] PASSED
30 tests/test_legacy.py::TestVerify::test_success[Type.ID-$argon2id$v=19$m=65536,t=2,p=4$c29tZXNhbHQ$GpZ3sK/oH9p7VIiV56G/64Zo/8GaUw434IimaPqxwCo] PASSED
31 tests/test_legacy.py::TestVerify::test_wrong_arg_type PASSED
32 tests/test_low_level.py::TestHash::test_hash_fast[hash_secret] PASSED
33 tests/test_low_level.py::TestHash::test_hash_fast[hash_secret_raw] PASSED
34 tests/test_low_level.py::TestHash::test_hash_nul_bytes PASSED
35 tests/test_low_level.py::TestHash::test_hash_secret[Type.D-$argon2d$v=19$m=65536,t=2,p=4$c29tZXNhbHQ$cZn5d+rFh+ZfuRhm2iGUGgcrW5YLeM6q7L3vBsdmFA0] PASSED
36 tests/test_low_level.py::TestHash::test_hash_secret[Type.I-$argon2i$v=19$m=65536,t=2,p=4$c29tZXNhbHQ$IMit9qkFULCMA/ViizL57cnTLOa5DiVM9eMwpAvPwr4] PASSED
37 tests/test_low_level.py::TestHash::test_hash_secret[Type.ID-$argon2id$v=19$m=65536,t=2,p=4$c29tZXNhbHQ$GpZ3sK/oH9p7VIiV56G/64Zo/8GaUw434IimaPqxwCo] PASSED
38 tests/test_low_level.py::TestHash::test_hash_secret_raw[Type.D-q\x99\xf9w\xea\xc5\x87\xe6_\xb9\x18f\xda!\x94\x1a\x07+[\x96\x0bx\xce\xaa\xec\xbd\xef\x06\xc7f\x14\r] PASSED
39 tests/test_low_level.py::TestHash::test_hash_secret_raw[Type.I- \xc8\xad\xf6\xa9\x05P\xb0\x8c\x03\xf5b\x8b2\xf9\xed\xc9\xd3,\xe6\xb9\x0e%L\xf5\xe30\xa4\x0b\xcf\xc2\xbe] PASSED
40 tests/test_low_level.py::TestHash::test_hash_secret_raw[Type.ID-\x1a\x96w\xb0\xaf\xe8\x1f\xda{T\x88\x95\xe7\xa1\xbf\xeb\x86h\xff\xc1\x9aS\x0e7\xe0\x88\xa6h\xfa\xb1\xc0*] PASSED
41 tests/test_low_level.py::TestHash::test_hash_wrong_arg_type[hash_secret] PASSED
42 tests/test_low_level.py::TestHash::test_hash_wrong_arg_type[hash_secret_raw] PASSED
43 tests/test_low_level.py::TestHash::test_illegal_argon2_parameter[hash_secret] PASSED
44 tests/test_low_level.py::TestHash::test_illegal_argon2_parameter[hash_secret_raw] PASSED
45 tests/test_low_level.py::TestVerify::test_fail[Type.D-$argon2d$v=19$m=65536,t=2,p=4$c29tZXNhbHQ$cZn5d+rFh+ZfuRhm2iGUGgcrW5YLeM6q7L3vBsdmFA0] PASSED
46 tests/test_low_level.py::TestVerify::test_fail[Type.I-$argon2i$v=19$m=65536,t=2,p=4$c29tZXNhbHQ$IMit9qkFULCMA/ViizL57cnTLOa5DiVM9eMwpAvPwr4] PASSED
47 tests/test_low_level.py::TestVerify::test_fail[Type.ID-$argon2id$v=19$m=65536,t=2,p=4$c29tZXNhbHQ$GpZ3sK/oH9p7VIiV56G/64Zo/8GaUw434IimaPqxwCo] PASSED
48 tests/test_low_level.py::TestVerify::test_fail_wrong_argon2_type PASSED
49 tests/test_low_level.py::TestVerify::test_old_hash PASSED
50 tests/test_low_level.py::TestVerify::test_success[Type.D-$argon2d$v=19$m=65536,t=2,p=4$c29tZXNhbHQ$cZn5d+rFh+ZfuRhm2iGUGgcrW5YLeM6q7L3vBsdmFA0] PASSED
51 tests/test_low_level.py::TestVerify::test_success[Type.I-$argon2i$v=19$m=65536,t=2,p=4$c29tZXNhbHQ$IMit9qkFULCMA/ViizL57cnTLOa5DiVM9eMwpAvPwr4] PASSED
52 tests/test_low_level.py::TestVerify::test_success[Type.ID-$argon2id$v=19$m=65536,t=2,p=4$c29tZXNhbHQ$GpZ3sK/oH9p7VIiV56G/64Zo/8GaUw434IimaPqxwCo] PASSED
53 tests/test_low_level.py::TestVerify::test_wrong_arg_type PASSED
54 tests/test_low_level.py::test_argument_ranges PASSED
55 tests/test_low_level.py::test_core PASSED
56 tests/test_packaging.py::TestLegacyMetadataHack::test_description PASSED
57 tests/test_packaging.py::TestLegacyMetadataHack::test_does_not_exist PASSED
58 tests/test_packaging.py::TestLegacyMetadataHack::test_email PASSED
59 tests/test_packaging.py::TestLegacyMetadataHack::test_uri PASSED
60 tests/test_packaging.py::TestLegacyMetadataHack::test_version PASSED
61 tests/test_password_hasher.py::TestEnsureBytes::test_is_bytes PASSED
62 tests/test_password_hasher.py::TestEnsureBytes::test_is_str PASSED
63 tests/test_password_hasher.py::TestPasswordHasher::test_check PASSED
64 tests/test_password_hasher.py::TestPasswordHasher::test_check_needs_rehash_no PASSED
65 tests/test_password_hasher.py::TestPasswordHasher::test_check_needs_rehash_yes PASSED
66 tests/test_password_hasher.py::TestPasswordHasher::test_custom_salt PASSED
67 tests/test_password_hasher.py::TestPasswordHasher::test_hash[p\xe4ssword0] PASSED
68 tests/test_password_hasher.py::TestPasswordHasher::test_hash[p\xe4ssword1] PASSED
69 tests/test_password_hasher.py::TestPasswordHasher::test_hash_verify[p\xe4ssword0] PASSED
70 tests/test_password_hasher.py::TestPasswordHasher::test_hash_verify[p\xe4ssword1] PASSED
71 tests/test_password_hasher.py::TestPasswordHasher::test_type_is_configurable PASSED
72 tests/test_password_hasher.py::TestPasswordHasher::test_verify_agility[p\xe4ssword0] PASSED
73 tests/test_password_hasher.py::TestPasswordHasher::test_verify_agility[p\xe4ssword1] PASSED
74 tests/test_password_hasher.py::TestPasswordHasher::test_verify_invalid_hash PASSED
75 tests/test_password_hasher.py::TestPasswordHasher::test_verify_invalid_hash_error PASSED
76 tests/test_utils.py::TestCheckTypes::test_fail PASSED
77 tests/test_utils.py::TestCheckTypes::test_success PASSED
78 tests/test_utils.py::TestExtractParameters::test_invalid_hash[$argon2id$v=19$m=65536,t=2$c29tZXNhbHQ$GpZ3sK/oH9p7VIiV56G/64Zo/8GaUw434IimaPqxwCo] PASSED
79 tests/test_utils.py::TestExtractParameters::test_invalid_hash[$argon2id$v=19$m=65536,t=2,p=four$c29tZXNhbHQ$GpZ3sK/oH9p7VIiV56G/64Zo/8GaUw434IimaPqxwCo] PASSED
80 tests/test_utils.py::TestExtractParameters::test_invalid_hash[] PASSED
81 tests/test_utils.py::TestExtractParameters::test_invalid_hash[abc$argon2id$v=19$m=65536,t=2,p=4$c29tZXNhbHQ$GpZ3sK/oH9p7VIiV56G/64Zo/8GaUw434IimaPqxwCo] PASSED
82 tests/test_utils.py::TestExtractParameters::test_valid_hash PASSED
83 tests/test_utils.py::TestExtractParameters::test_valid_hash_v18 PASSED
84 tests/test_utils.py::TestParameters::test_eq PASSED
85 tests/test_utils.py::TestParameters::test_eq_wrong_type PASSED
86 tests/test_utils.py::TestParameters::test_repr PASSED
87 tests/test_utils.py::test_decoded_str_len PASSED
89 ======== 74 passed ========
90 py$(PYV): commands[1]> python -Im argon2 -n 1 -t 1 -m 8 -p 1
91 Running Argon2id 1 times with:
94 parallelism: 1 threads
95 time_cost: 1 iterations
99 0.1ms per password verification