test_declared_columns_default_when_no_config

Tests › tests/test_requirements_declared.py

passed Passed in the packaged run.

What this test is for

Why it exists

The test says nothing about why.

Given

  1. —
→

When

  1. resolve_catalog_columns(None)
→

Then

  1. ✓ resolve_catalog_columns(None) equals ("id", "name")
  2. ✓ (REQUIREMENTS_ID_COLUMN_DEFAULT, REQUIREMENTS_NAME_COLUMN_DEFAULT) equals ("id", "name")

tests/test_requirements_declared.py:150 · its file's page

What it checks (2)

  1. assert resolve_catalog_columns(None) == ("id", "name") observes resolve_catalog_columns
  2. assert (REQUIREMENTS_ID_COLUMN_DEFAULT, REQUIREMENTS_NAME_COLUMN_DEFAULT) == ("id", "name") not attributed

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

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