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