Skip to content

Commit

Permalink
fix scope of fixture
Browse files Browse the repository at this point in the history
  • Loading branch information
cbartz committed Jul 31, 2024
1 parent ec37ec2 commit 04a6369
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion tests/app/integration/conftest.py
Original file line number Diff line number Diff line change
Expand Up @@ -37,7 +37,7 @@
TEST_GITHUB_TOKEN_ENV_NAME = f"AUTH_{GITHUB_TOKEN_ENV_NAME}"


@pytest.fixture(scope="session", name="randomize_github_auth_method", autouse=True)
@pytest.fixture(scope="function", name="randomize_github_auth_method", autouse=True)
def fixture_randomize_github_auth_method(monkeypatch: pytest.MonkeyPatch) -> None:
"""Randomize the GitHub authentication method.
Expand Down

0 comments on commit 04a6369

Please sign in to comment.