MCPcopy Create free account
hub / github.com/0010aor/FlashNotes / test_not_authenticate_user

Function test_not_authenticate_user

backend/tests/auth/test_services.py:21–25  ·  view source on GitHub ↗
(db: Session)

Source from the content-addressed store, hash-verified

19
20
21def test_not_authenticate_user(db: Session) -> None:
22 email = random_email()
23 password = random_lower_string()
24 user = authenticate(session=db, email=email, password=password)
25 assert user is None
26
27
28def test_create_access_token(db: Session) -> None:

Callers

nothing calls this directly

Calls 3

random_emailFunction · 0.90
random_lower_stringFunction · 0.90
authenticateFunction · 0.90

Tested by

no test coverage detected