async def test_get_keylist_storage_error(self):
    with async_mock.patch.object(test_module.RouteRecord, 'query', async_mock.CoroutineMock(side_effect=test_module.StorageError)) as mock_query, self.assertRaises(test_module.web.HTTPBadRequest):
        (await test_module.get_keylist(self.request))
async def test_get_keylist_storage_error(self):
    with async_mock.patch.object(test_module.RouteRecord, 'query', async_mock.CoroutineMock(side_effect=test_module.StorageError)) as mock_query, self.assertRaises(test_module.web.HTTPBadRequest):
        (await test_module.get_keylist(self.request))