You can register responses for both sync and async HTTPX requests. import pytest import httpx def test_something(httpx_mock): httpx_mock.add_response() with ...
確定! 回上一頁