async def test_list_mediation_requests_no_records(self):
    with async_mock.patch.object(test_module, 'MediationRecord', async_mock.MagicMock(query=async_mock.CoroutineMock(return_value=[]))) as mock_med_rec, async_mock.patch.object(test_module.web, 'json_response') as mock_response:
        (await test_module.list_mediation_requests(self.request))
        mock_response.assert_called_once_with([])
async def test_list_mediation_requests_no_records(self):
    with async_mock.patch.object(test_module, 'MediationRecord', async_mock.MagicMock(query=async_mock.CoroutineMock(return_value=[]))) as mock_med_rec, async_mock.patch.object(test_module.web, 'json_response') as mock_response:
        (await test_module.list_mediation_requests(self.request))
        mock_response.assert_called_once_with([])