Skip to content

Commit

Permalink
Test tweak after rebasing on main (which now has Django 4.2)
Browse files Browse the repository at this point in the history
  • Loading branch information
stevejalim committed Apr 10, 2024
1 parent 96f334a commit 342335f
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion bedrock/base/tests/test_middleware.py
Original file line number Diff line number Diff line change
Expand Up @@ -5,6 +5,7 @@
from contextlib import suppress
from unittest import mock

from django.http import HttpResponse
from django.test import Client, TestCase
from django.test.utils import override_settings
from django.urls import reverse
Expand Down Expand Up @@ -225,7 +226,7 @@ def test_BedrockLangCodeFixupMiddleware(
HTTP_ACCEPT_LANGUAGE="de-DE,en-GB;q=0.4,en-US;q=0.2",
)

middleware = BedrockLangCodeFixupMiddleware()
middleware = BedrockLangCodeFixupMiddleware(get_response=HttpResponse)

resp = middleware.process_request(request)

Expand Down

0 comments on commit 342335f

Please sign in to comment.