canaille-globuzma/tests/test_bad_flows.py
Eloi Rivard 0b7def73a3 black
2021-09-28 09:30:41 +02:00

12 lines
394 B
Python

def test_incomplete_requests(testclient, slapd_connection, logged_user, client):
testclient.get(
"/oauth/authorize", params=dict(response_type="code",), status=400,
)
def test_bad_client(testclient, slapd_connection, logged_user, client):
testclient.get(
"/oauth/authorize",
params=dict(response_type="code", clienrt_id="nope",),
status=400,
)