test_one_default_column_pair_for_every_reader

Tests › tests/test_requirements_section.py

passed Passed in the packaged run.

What this test is for

Why it exists

F8: an undeclared flat catalog is read with the same id/name keys by gate and index.

Given

  1. —
→

When

  1. resolve_catalog_columns(None)
→

Then

  1. ✓ resolve_catalog_columns(None) equals ( REQUIREMENTS_ID_COLUMN_DEFAULT, REQUIREMENTS_NAME_COLUMN_DEFAULT, )

tests/test_requirements_section.py:115 · its file's page

What it checks (1)

  1. assert resolve_catalog_columns(None) == ( REQUIREMENTS_ID_COLUMN_DEFAULT, REQUIREMENTS_NAME_COLUMN_DEFAULT, ) observes resolve_catalog_columns

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_default_column_pair_for_every_reader→resolve_catalog_columns

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_default_column_pair_for_every_reader · 1 checksresolve_catalog_columnsREQ-DDB-CONFIG-001 · measured
Also reaches 1 requirement

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