From 5ab427536e766f76cfd25fc8dd6247bccb60d7dd Mon Sep 17 00:00:00 2001 From: Simone Ferrigno Date: Fri, 4 Aug 2023 09:38:30 +0200 Subject: [PATCH] revert: "test: fix auth_flow test and authentication_configs based on KC 22 pre-settings" This reverts commit 392b71b351c741cb914883624d9022d169262c7c. --- tests/test_keycloak_admin.py | 4 ++-- tox.ini | 2 +- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/tests/test_keycloak_admin.py b/tests/test_keycloak_admin.py index b878634..0951db3 100644 --- a/tests/test_keycloak_admin.py +++ b/tests/test_keycloak_admin.py @@ -1869,7 +1869,7 @@ def test_auth_flows(admin: KeycloakAdmin, realm: str): admin.realm_name = realm res = admin.get_authentication_flows() - assert len(res) == 7, res + assert len(res) == 8, res assert set(res[0].keys()) == { "alias", "authenticationExecutions", @@ -2023,7 +2023,7 @@ def test_authentication_configs(admin: KeycloakAdmin, realm: str): # Test list of auth providers res = admin.get_authenticator_providers() - assert len(res) == 35 + assert len(res) == 38 res = admin.get_authenticator_provider_config_description(provider_id="auth-cookie") assert res == { diff --git a/tox.ini b/tox.ini index a829231..9fe190a 100644 --- a/tox.ini +++ b/tox.ini @@ -4,7 +4,7 @@ skipsdist = true envlist = check, apply-check, docs, tests, build, changelog [testenv] -allowlist_externals = poetry, ./test_keycloak_init.sh, black, isort, flake8, codespell, sphinx-build +allowlist_externals = poetry, ./test_keycloak_init.sh, black, isort, flake8, codespell commands_pre = poetry install --sync