async def test_get_keylist_no_matching_records(self):
    with async_mock.patch.object(test_module.RouteRecord, 'query', async_mock.CoroutineMock(return_value=[])) as mock_query, async_mock.patch.object(self.context, 'session', async_mock.CoroutineMock()) as mock_session, async_mock.patch.object(test_module.web, 'json_response') as mock_response:
        (await test_module.get_keylist(self.request))
        mock_query.assert_called_once_with(mock_session.return_value, {})
        mock_response.assert_called_once_with([], status=200)
async def test_get_keylist_no_matching_records(self):
    with async_mock.patch.object(test_module.RouteRecord, 'query', async_mock.CoroutineMock(return_value=[])) as mock_query, async_mock.patch.object(self.context, 'session', async_mock.CoroutineMock()) as mock_session, async_mock.patch.object(test_module.web, 'json_response') as mock_response:
        (await test_module.get_keylist(self.request))
        mock_query.assert_called_once_with(mock_session.return_value, {})
        mock_response.assert_called_once_with([], status=200)