HSLG Media

test_dependency_boundaries.py

test_dependency_boundaries.py

Source file: tests/governance/test_dependency_boundaries.py

Module: tests-governance

Size: 43 lines

SHA-256: 01172496c69a0e4ffc3dc95dd99efabfb64c6365e22dfbdfcf07ad7a7c168f96

Responsibility

Checks project policy and release gate behaviour.

Declared entry points

  • DependencyTests — source line 9.
  • setUp — source line 10.
  • value — source line 13.
  • fake — source line 14.
  • native — source line 15.
  • write — source line 16.
  • gate — source line 18.
  • test_allowed_mobile_to_core — source line 19.
  • test_mobile_demo_import_fails — source line 22.
  • test_aliased_demo_import_fails — source line 24.
  • test_unreachable_dynamic_import_still_fails — source line 26.
  • test_reexport_from_demo_fails — source line 28.
  • test_computed_import_fails_closed — source line 30.
  • p — source line 31.
  • test_shared_native_import_fails — source line 32.
  • test_server_import_fails — source line 34.
  • server — source line 35.
  • test_unresolved_import_fails — source line 37.
  • test_firebase_import_fails — source line 39.
  • test_runtime_eval_fails — source line 41.

Imports and dependencies

  • Line 3: import json
  • Line 4: import subprocess
  • Line 5: import tempfile
  • Line 6: import unittest

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.