Files
allmende-payment-system/test/test_auth.py
2025-10-23 11:41:52 +02:00

13 lines
348 B
Python

from allmende_payment_system.models import Account
def test_unauthorized_access(unauthorized_client):
response = unauthorized_client.get("/")
assert response.status_code == 401
def test_unauthorized_access(unauthorized_client):
response = unauthorized_client.get("/")
print(response.text)
assert response.status_code == 401