diff --git a/tests/test_keycloak_admin.py b/tests/test_keycloak_admin.py index 29d9e13..5be7dfb 100644 --- a/tests/test_keycloak_admin.py +++ b/tests/test_keycloak_admin.py @@ -887,7 +887,7 @@ def test_clients(admin: KeycloakAdmin, realm: str): assert len(res) == 0, res with pytest.raises(KeycloakGetError) as err: - admin.get_client_authz_scopes(client_id=client_id) + admin.get_client_authz_scopes(client_id=auth_client_id) assert err.match('404: b\'{"error":"HTTP 404 Not Found"}\'') res = admin.create_client_authz_scopes(