This is the test result on my local Debian environment: autopkgtest [04:12:46]: test unittests: [----------------------- ============================= test session starts ============================== platform linux -- Python 3.13.3, pytest-8.3.5, pluggy-1.5.0 rootdir: /tmp/autopkgtest.vOgNr1/autopkgtest_tmp plugins: cov-5.0.0, typeguard-4.4.2 collected 42 items
tests/test_audit.py ....... [ 16%] tests/test_main.py ............ [ 45%] tests/test_msg.py ........ [ 64%] tests/test_pass.py .............. [ 97%] tests/test_pwned.py . [100%] ---------- coverage: platform linux, python 3.13.3-final-0 ----------- Name Stmts Miss Branch BrPart Cover Missing -------------------------------------------------------------------------------------------------------- /usr/lib/python3/dist-packages/pass_audit/__init__.py 9 0 0 0 100% /usr/lib/python3/dist-packages/pass_audit/__main__.py 77 5 22 1 94% 127-129, 150-151 /usr/lib/python3/dist-packages/pass_audit/audit.py 80 3 36 2 96% 13-14, 77, 87->89 /usr/lib/python3/dist-packages/pass_audit/msg.py 41 0 12 3 94% 38->exit, 49->exit, 55->exit /usr/lib/python3/dist-packages/pass_audit/passwordstore.py 114 4 52 5 95% 59, 107-108, 111->118, 124->118, 155, 166->164 -------------------------------------------------------------------------------------------------------- TOTAL 321 12 122 11 95% Required test coverage of 94% reached. Total coverage: 94.81% ============================== 42 passed in 4.88s ============================== autopkgtest [04:12:54]: test unittests: -----------------------] autopkgtest [04:12:54]: test unittests: - - - - - - - - - - results - - - - - - - - - - unittests PASS autopkgtest [04:12:54]: @@@@@@@@@@@@@@@@@@@@ summary unittests PASS Thanks for your reply! Yours sincerely, xiaozhan
0001-Fix-unittest-failures-in-pass-audit.patch
Description: 0001-Fix-unittest-failures-in-pass-audit.patch