MCPcopy Create free account
hub / github.com/Mnexa-AI/e2a / test_empty_string_cursor_terminates

Function test_empty_string_cursor_terminates

sdks/python/tests/test_v1_pagination.py:56–58  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

54
55@pytest.mark.anyio
56async def test_empty_string_cursor_terminates():
57 pager = AutoPager(lambda c: _single(Page(items=[7], next_cursor="")))
58 assert await pager.to_list(limit=100) == [7]
59
60
61def _single(page):

Callers

nothing calls this directly

Calls 4

to_listMethod · 0.95
AutoPagerClass · 0.90
PageClass · 0.90
_singleFunction · 0.85

Tested by

no test coverage detected