request-mock
import requests_mock @pytest.mark.asyncio async def test_mock_login( client, requests_mock: requests_mock.Mocker, ): .... requests_mock.get(host, text=json.dumps(return_data)) ....
관련 문서
Plugin Backlinks: 아무 것도 없습니다.
open:request-mock
import requests_mock @pytest.mark.asyncio async def test_mock_login( client, requests_mock: requests_mock.Mocker, ): .... requests_mock.get(host, text=json.dumps(return_data)) ....