Show pageOld revisionsBacklinksBack to top This page is read only. You can view the source, but not change it. Ask your administrator if you think this is wrong. # request-mock - https://requests-mock.readthedocs.io/en/latest/mocker.html#activation <code> 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)) .... </code> open/request-mock.txt Last modified: 2024/10/05 06:15by 127.0.0.1