test_no_session_yet_is_said_not_sent¶
Tests › tests/test_wiki_channel.py
What this test is for
Why it exists
Before any tool call there is no session to push on.
Given
hub = channel.Channel()with caplog.at_level("INFO"): assert ( anyio.run( lambda: hub.send( "r", {"page": "a", "anchor": "", "quote": "", "body": "b", "id": "1"} ) ) is False )
When
- —
Then
- ✓ caplog.text contains "no session"
tests/test_wiki_channel.py:97 · its file's page
What it checks (2)
assert ( anyio.run( lambda: hub.send( "r", {"page": "a", "anchor": "", "quote": "", "body": "b", "id": "1"} ) ) is False )not attributedassert "no session" in caplog.textnot attributed
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-054 measured