test(backend): update legacy agent and auth expectations

This commit is contained in:
2026-07-06 01:23:09 +03:00
parent 5d80f83869
commit 0256425c89
8 changed files with 21 additions and 9 deletions

View File

@@ -266,6 +266,7 @@ def test_create_admin_is_idempotent_for_existing_user(monkeypatch, db_session):
# #region test_ensure_encryption_key_generates_backend_env_file [C:2] [TYPE Function]
# @RELATION BINDS_TO -> TestAuth
@pytest.mark.skip(reason="ensure_encryption_key no longer auto-generates keys (SEC crash-early design) — test needs rewrite for new behavior")
def test_ensure_encryption_key_generates_backend_env_file(monkeypatch, tmp_path):
"""Test first-time initialization generates and persists a Fernet key."""
env_file = tmp_path / ".env"