HSLG Media

test_m9_m10_sources.py

test_m9_m10_sources.py

Source file: tests/governance/test_m9_m10_sources.py

Module: tests-governance

Size: 44 lines

SHA-256: 8b0b7548e36e9a6578116042bdcc0f9acade3f0e5eb39339bd1b2566af16657c

Responsibility

Checks project policy and release gate behaviour.

Declared entry points

  • ReleasePreparationTests — source line 8.
  • test_shell_scripts_are_syntactically_valid — source line 9.
  • test_backup_requires_operator_credentials — source line 15.
  • test_native_stage_contains_shared_ui_not_demo — source line 20.
  • test_native_preflight_blocks_missing_official_dependencies — source line 35.

Imports and dependencies

  • Line 2: import json
  • Line 3: import subprocess
  • Line 4: import unittest

Behaviour and audit locations

  • Line 15: def test_backup_requires_operator_credentials(self):

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.