Skip to content

Commit

Permalink
Add testcontainers-keycloak package from git
Browse files Browse the repository at this point in the history
  • Loading branch information
disrupted committed Feb 27, 2024
1 parent 01d38c5 commit cc75c07
Show file tree
Hide file tree
Showing 4 changed files with 39 additions and 115 deletions.
38 changes: 36 additions & 2 deletions poetry.lock

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

3 changes: 2 additions & 1 deletion pyproject.toml
Original file line number Diff line number Diff line change
Expand Up @@ -31,8 +31,9 @@ pyright = "^1.1.351"
[tool.poetry.group.test.dependencies]
pytest = "^8.0.1"
pytest-mock = "^3.12.0"
testcontainers = "^3.7.1"
python-keycloak = "^3.9.0"
testcontainers = "^3.7.1"
testcontainers-keycloak = { git = "ssh://[email protected]/TheForgottened/testcontainers-python.git", subdirectory = "keycloak" } # updated Keycloak container: https://github.com/TheForgottened/testcontainers-python/tree/cb74c2c8789bd9329c48bc105f0b63e40ae4e675/keycloak

[build-system]
requires = ["poetry-core"]
Expand Down
111 changes: 0 additions & 111 deletions tests/keycloak_testcontainer.py

This file was deleted.

2 changes: 1 addition & 1 deletion tests/test_oauth.py
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@
from keycloak import KeycloakAdmin
import pytest
from keycloak_oauth import KeycloakOAuth2
from tests.keycloak_testcontainer import KeycloakContainer
from testcontainers.keycloak import KeycloakContainer
from fastapi.testclient import TestClient


Expand Down

0 comments on commit cc75c07

Please sign in to comment.