-
Notifications
You must be signed in to change notification settings - Fork 297
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
fix(keycloak): tests on aarch64, use image from [jboss -> quay], chan…
…ge supported version [16+ -> 18+] (#480) - jboss/keycloak is discontinued, adapting the official Docker image: https://quay.io/repository/keycloak/keycloak - switched to the latest image version with ARM support fixes #451 fixes #483 ![Screenshot 2024-03-15 at 12 42 29](https://github.com/testcontainers/testcontainers-python/assets/13573675/f82b9372-a94e-45c8-a47b-7ddb4c1c6a57)
- Loading branch information
1 parent
b10d916
commit 5758310
Showing
2 changed files
with
11 additions
and
14 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,9 +1,6 @@ | ||
import pytest | ||
|
||
from testcontainers.keycloak import KeycloakContainer | ||
|
||
|
||
@pytest.mark.parametrize("version", ["16.1.1"]) | ||
def test_docker_run_keycloak(version: str): | ||
with KeycloakContainer(f"jboss/keycloak:{version}") as kc: | ||
kc.get_client().users_count() | ||
def test_docker_run_keycloak(): | ||
with KeycloakContainer("quay.io/keycloak/keycloak:24.0.1") as keycloak_admin: | ||
keycloak_admin.get_client().users_count() |