add integration tests

This commit is contained in:
Maximilian Pohle 2024-06-01 13:10:26 +02:00
parent 6c1f74ad4c
commit 3f092f697f
4 changed files with 255 additions and 0 deletions

View file

@ -231,6 +231,8 @@ def main():
# filter. This returns False if it is not found.
resource = kc.get_authz_resource_by_name(
name=name, client_id=cid, realm=realm)
if resource and resource != {}:
resource['uris'].sort()
# Generate a JSON payload for Keycloak Admin API. This is needed for
# "create" and "update" operations.