test_docs_depth_gate.py
Source file: tests/governance/test_docs_depth_gate.py
Module: tests-governance
Size: 34 lines
SHA-256: 922fd7907dc8a8f3fa97d4142fd3638526206d65f04ef10cad8becc24c8908d3
Responsibility
Checks project policy and release gate behaviour.
Declared entry points
DocumentationQualityTests— source line 8.setUpClass— source line 10.test_actual_release_has_explanations— source line 12.test_short_architecture_stub_rejected— source line 14.test_empty_user_journey_rejected— source line 19.test_broken_navigation_link_rejected— source line 24.test_repeated_long_paragraph_rejected— source line 28.
Imports and dependencies
- Line 2:
import json, unittest, sys
Behaviour and audit locations
Review control flow and returned values in the named source file; no special integration marker was detected.
Relationship to the system
This page is the file-level source reference, not the architecture rationale. Read the module explanation, the corresponding architecture decision and user guide before changing behaviour. Names and line locations above are extracted from this exact source version; they are reference points, not proof that an external service or a phone feature works.
Change verification
Review the entry points and errors in this file, then run the module’s associated tests, source dependency gate, history gate and documentation coverage check. If the file changes an API response, user interaction, data model, deployment or third-party dependency, revise those human explanations and disaster recovery/licensing when relevant. Do not infer actual native or external API operation from source presence.