Skip to content

Commit

Permalink
Did this break stuff?
Browse files Browse the repository at this point in the history
Signed-off-by: Rick Elrod <[email protected]>
  • Loading branch information
relrod committed Oct 14, 2024
1 parent 843c7f2 commit a1870bc
Showing 1 changed file with 5 additions and 2 deletions.
7 changes: 5 additions & 2 deletions test_app/tests/lib/templatetags/test_requests.py
Original file line number Diff line number Diff line change
Expand Up @@ -35,5 +35,8 @@ def test_is_proxied_request(request, httprequest, headers, expected_result, sett
else:
rf_request = None

crum.set_current_request(rf_request)
assert is_proxied_request() == expected_result
try:
crum.set_current_request(rf_request)
assert is_proxied_request() == expected_result
finally:
crum.set_current_request(None)

0 comments on commit a1870bc

Please sign in to comment.