summaryrefslogtreecommitdiff
path: root/testenv/tests
diff options
context:
space:
mode:
authorMaxim Devaev <[email protected]>2023-01-22 22:50:06 +0200
committerMaxim Devaev <[email protected]>2023-01-22 23:03:23 +0200
commit2d772cc30e562e40a3d0a91366883c3278df6bb6 (patch)
treebd563257f835e77dfb454c776cfb52558ebc2afe /testenv/tests
parent828778f10afb5d9e3824c72ba559e448e158b4ce (diff)
TOTP implementation
Diffstat (limited to 'testenv/tests')
-rw-r--r--testenv/tests/apps/kvmd/test_auth.py4
1 files changed, 4 insertions, 0 deletions
diff --git a/testenv/tests/apps/kvmd/test_auth.py b/testenv/tests/apps/kvmd/test_auth.py
index 8b8577bd..3e47a6f0 100644
--- a/testenv/tests/apps/kvmd/test_auth.py
+++ b/testenv/tests/apps/kvmd/test_auth.py
@@ -59,6 +59,8 @@ async def _get_configured_manager(
external_type=("htpasswd" if external_path else ""),
external_kwargs=(_make_service_kwargs(external_path) if external_path else {}),
+
+ totp_secret_path="",
)
try:
@@ -149,6 +151,8 @@ async def test_ok__disabled() -> None:
external_type="",
external_kwargs={},
+
+ totp_secret_path="",
)
assert not manager.is_auth_enabled()