test_one_sided_topics_yield_no_edges

Tests › tests/test_event_edges.py

passed Passed in the packaged run.

What this test is for

Why it exists

A topic emitted but never handled (or vice versa) produces no edge — it is reported as a diagnostic instead, since it usually means a real defect.

Given

  1. —
→

When

  1. topics = _topic_roles( [ ("EVENT:ORPHAN", PRODUCER, "emit_it", 1, True), ("EVENT:UNEMITTED", CONSUMER, "on_it", 2, True), ] )
  2. _edges_for(topics)
→

Then

  1. ✓ _edges_for(topics) equals []

tests/test_event_edges.py:181 · its file's page

What it checks (1)

  1. assert _edges_for(topics) == [] observes _edges_for

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_one_sided_topics_yield_no_edges→_topic_roles→_edges_for

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_one_sided_topics_yield_no_edges · 1 checks_topic_rolesREQ-DDB-SCHEMA-009 · measured
Also reaches 1 requirement

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