async def test_list_mediation_requests_x(self):
    with async_mock.patch.object(test_module, 'MediationRecord', async_mock.MagicMock(query=async_mock.CoroutineMock(side_effect=test_module.StorageError()))) as mock_med_rec:
        with self.assertRaises(test_module.web.HTTPBadRequest):
            (await test_module.list_mediation_requests(self.request))
async def test_list_mediation_requests_x(self):
    with async_mock.patch.object(test_module, 'MediationRecord', async_mock.MagicMock(query=async_mock.CoroutineMock(side_effect=test_module.StorageError()))) as mock_med_rec:
        with self.assertRaises(test_module.web.HTTPBadRequest):
            (await test_module.list_mediation_requests(self.request))