Exception nazi and other suppression removals. Added tests on auth flows that were simplified to linter requirements.

This commit is contained in:
2026-05-02 05:22:56 +00:00
parent 2dea459d8f
commit 2fa52229cc
13 changed files with 279 additions and 97 deletions
+1 -5
View File
@@ -3,7 +3,6 @@ import hashlib
import hmac
import struct
from pathlib import Path
from time import time
from uuid import uuid4
import pytest
@@ -93,10 +92,7 @@ def _ntlm_type3(
def _session_cookie_header(username: str) -> dict[str, str]:
token = "test-" + username
session._sessions[token] = {
"exp": int(time()) + session.max_age,
"username": username,
}
session.put(token, username)
return {"Cookie": f"cista={token}"}