test_the_declaration_changes_the_cache_key

Tests › tests/test_blocking_declared.py

passed Passed in the packaged run.

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

  1. —
→

When

  1. blocking_harvester(_DECLARED)
  2. blocking_harvester(None)
→

Then

  1. ✓ 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)

  1. assert blocking_harvester(_DECLARED).extra_key != blocking_harvester(None).extra_key observes blocking_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_harvester

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.

test_the_declaration_changes_the_cache_key · 1 checksblocking_harvestermanifest_keyhash_fileREQ-DDB-INDEX-002 · inferredblocking_harvestermanifest_keyREQ-DDB-PIPE-003 · measured
Also reaches 2 requirements

Its run touches their code; that is reach, not proof.