Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
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
56
async
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
61
def
_single(page):
Callers
nothing calls this directly
Calls
4
to_list
Method · 0.95
AutoPager
Class · 0.90
Page
Class · 0.90
_single
Function · 0.85
Tested by
no test coverage detected