test_a_truncated_issue_fetch_says_so¶
Tests › tests/test_wiki_tuning.py
What this test is for
Why it exists
D14: the fetch stopped at its page cap and returned what it had with no disclosure.
Given
pages = iter([[{"n": i}] * 100 for i in range(60)])
When
rows, truncated = fetch_pages(lambda page: next(pages), max_pages=3)
Then
- ✓ len(rows) equals 300
- ✓ truncated is True
tests/test_wiki_tuning.py:133 · its file's page
What it checks (1)
assert len(rows) == 300 and truncated is Truenot attributed
Where the product reaches it
No product flow reaches this code: no product entry point's flow calls any of the functions this test calls.
Call flow
What it reaches
Each row runs from this test, through the calls it makes, to the code a requirement names. If that code breaks, the test's checks are what should catch it. Reaching is not proving: a check only proves what it observes. No mutation records were given, so these rows say what the test REACHES.
Also reaches 1 requirement
Its run touches their code; that is reach, not proof.
- REQ-DDB-WIKI-028 measured