Skip to content

Commit

Permalink
Remove setting of global variable
Browse files Browse the repository at this point in the history
  • Loading branch information
PGijsbers committed Nov 19, 2024
1 parent f9b7dd0 commit c3b1521
Showing 1 changed file with 0 additions and 4 deletions.
4 changes: 0 additions & 4 deletions src/tests/routers/resource_routers/test_resource_router.py
Original file line number Diff line number Diff line change
Expand Up @@ -4,8 +4,6 @@
import pytest
from starlette.testclient import TestClient

from authentication import keycloak_openid


@pytest.mark.parametrize(
"resource_type",
Expand Down Expand Up @@ -58,8 +56,6 @@ def test_happy_path_with_filters(
resource_filters: dict,
expected_count: int,
):
keycloak_openid.introspect = mocked_privileged_token

response = client.post(
f"/{resource_type}/v1", json=body_asset, headers={"Authorization": "Fake token"}
)
Expand Down

0 comments on commit c3b1521

Please sign in to comment.