Skip to content

Commit

Permalink
Fix wrong scope for Keycloak container fixture
Browse files Browse the repository at this point in the history
  • Loading branch information
disrupted authored and torbsto committed Mar 12, 2024
1 parent 87264e3 commit 4b0388b
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion tests/test_oauth_client_secret.py
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,7 @@
class TestKeycloakOAuth2ClientSecret:
RESOURCES_PATH = Path(__file__).parent.absolute() / "resources/keycloak"

@pytest.fixture(scope="session")
@pytest.fixture(scope="class")
def keycloak(self) -> Generator[KeycloakAdmin, None, None]:
container = (
KeycloakContainer()
Expand Down
2 changes: 1 addition & 1 deletion tests/test_oauth_signed_jwt.py
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,7 @@
class TestKeycloakOAuth2SignedJWT:
RESOURCES_PATH = Path(__file__).parent.absolute() / "resources/keycloak"

@pytest.fixture(scope="session")
@pytest.fixture(scope="class")
def keycloak(self) -> Generator[KeycloakAdmin, None, None]:
container = (
KeycloakContainer()
Expand Down

0 comments on commit 4b0388b

Please sign in to comment.