summaryrefslogtreecommitdiff
path: root/testenv
diff options
context:
space:
mode:
authorMaxim Devaev <[email protected]>2025-01-15 00:46:29 +0200
committerMaxim Devaev <[email protected]>2025-01-15 02:06:01 +0200
commitb6c73aceb74cf6f3a376fc1223e9cc701a8f6ee5 (patch)
treef2a6ceca150f45b86ef08cb4a17724322a92b33a /testenv
parentd3549ab52b4e432f43c5069ff7413dfd979e3c4a (diff)
pikvm/pikvm#1459: TOTP valid_window=5
Diffstat (limited to 'testenv')
-rw-r--r--testenv/tests/apps/kvmd/test_auth.py2
1 files changed, 2 insertions, 0 deletions
diff --git a/testenv/tests/apps/kvmd/test_auth.py b/testenv/tests/apps/kvmd/test_auth.py
index 4fa1c8ae..cef16399 100644
--- a/testenv/tests/apps/kvmd/test_auth.py
+++ b/testenv/tests/apps/kvmd/test_auth.py
@@ -69,6 +69,7 @@ async def _get_configured_manager(
external_type=("htpasswd" if external_path else ""),
external_kwargs=(_make_service_kwargs(external_path) if external_path else {}),
+ totp_valid_window=0,
totp_secret_path="",
)
@@ -200,6 +201,7 @@ async def test_ok__disabled() -> None:
external_type="",
external_kwargs={},
+ totp_valid_window=0,
totp_secret_path="",
)