test_the_declaration_changes_the_cache_key¶
Tests › tests/test_blocking_declared.py
What this test is for
Why it exists
A cached payload from the built-in vocabulary must not be served for a declared one.
Given
- —
When
blocking_harvester(_DECLARED)blocking_harvester(None)
Then
- ✓ blocking_harvester(_DECLARED).extra_key differs from blocking_harvester(None).extra_key
tests/test_blocking_declared.py:80 · its file's page
What it checks (1)
assert blocking_harvester(_DECLARED).extra_key != blocking_harvester(None).extra_keyobservesblocking_harvester
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
test_the_declaration_changes_the_cache_key→blocking_harvesterWhat 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 2 requirements
Its run touches their code; that is reach, not proof.
- REQ-DDB-INDEX-002 inferred
- REQ-DDB-PIPE-003 measured