Skip to content

Commit

Permalink
Importing missing fixture
Browse files Browse the repository at this point in the history
  • Loading branch information
galvana committed Jan 11, 2025
1 parent f84e0b3 commit f4b53ad
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions tests/ops/api/v1/test_exception_handlers.py
Original file line number Diff line number Diff line change
Expand Up @@ -26,14 +26,14 @@ def mock_config_redis_disabled():

class TestExceptionHandlers:
@pytest.mark.usefixtures("mock_config_redis_disabled")
def test_redis_disabled(self, api_client: TestClient, generate_auth_header):
def test_redis_disabled(self, api_client: TestClient, generate_auth_header, policy):
auth_header = generate_auth_header([CLIENT_CREATE])
# Privacy requests endpoint should not work
request_body = [
{
"requested_at": "2021-08-30T16:09:37.359Z",
"identity": {"email": "[email protected]"},
"policy_key": "default_access_policy",
"policy_key": policy.key,
}
]
expected_response = {
Expand Down

0 comments on commit f4b53ad

Please sign in to comment.