Browse Source

fix: fix linting

pull/399/head
hadeer_e 2 years ago
parent
commit
15a325382f
  1. 2
      tests/test_keycloak_admin.py

2
tests/test_keycloak_admin.py

@ -897,7 +897,7 @@ def test_clients(admin: KeycloakAdmin, realm: str):
with pytest.raises(KeycloakPostError) as err: with pytest.raises(KeycloakPostError) as err:
admin.create_client_authz_scopes( admin.create_client_authz_scopes(
client_id='invalid_client_id', payload={"name": "test-authz-scope"}
client_id="invalid_client_id", payload={"name": "test-authz-scope"}
) )
assert err.match('404: b\'{"error":"Could not find client"') assert err.match('404: b\'{"error":"Could not find client"')
assert admin.create_client_authz_scopes( assert admin.create_client_authz_scopes(

Loading…
Cancel
Save