Skip to content

Commit 6931717

Browse files
committed
Adapt to latest pytest_httpx
1 parent 95b888d commit 6931717

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

tests/integration/test_mock_router.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -219,7 +219,7 @@ def fails():
219219
def fails_also(): # will only get passed to error if we set handle_exception_subclasses
220220
raise TestValueError()
221221

222-
httpx_mock.add_callback(callback=throwaway.handle_request)
222+
httpx_mock.add_callback(callback=throwaway.handle_request, is_reusable=True)
223223

224224
with httpx.Client(base_url=BASE_URL) as client:
225225
client.get("/gotohandler")

0 commit comments

Comments
 (0)