From 5855ec867ec92757dc4d9012e4e49235ef21f14a Mon Sep 17 00:00:00 2001 From: hadeer_e Date: Wed, 28 Dec 2022 21:27:55 +0200 Subject: [PATCH] fix: create authz clients test case --- tests/test_keycloak_admin.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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(