Browse Source

revert: "test: fix auth_flow test and authentication_configs based on KC 22 pre-settings"

This reverts commit 392b71b351.
pull/474/head
Simone Ferrigno 1 year ago
parent
commit
5ab427536e
  1. 4
      tests/test_keycloak_admin.py
  2. 2
      tox.ini

4
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 == {

2
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

Loading…
Cancel
Save