Preserve tested Verify source, authoritative READY checks, bounded bridge retries, diagnostics and failure-only reporting. Include 336-test suite and packaging assets; exclude live Mentor samples, field logs, backups and distributions.
15 lines
606 B
Python
15 lines
606 B
Python
from pathlib import Path
|
|
|
|
def test_spec_uses_onedir_collect_and_product_name():
|
|
text=Path('packaging/CbbRefreshVerify.spec').read_text(encoding='utf-8')
|
|
assert 'COLLECT(' in text and 'CbbRefreshVerify' in text
|
|
|
|
def test_build_script_validates_executable():
|
|
text=Path('packaging/Build-CbbRefreshVerify.ps1').read_text(encoding='utf-8')
|
|
assert 'CbbRefreshVerify.exe' in text
|
|
|
|
def test_spec_packages_adaptive_dialog_rules_and_uia_modules():
|
|
text = Path('packaging/CbbRefreshVerify.spec').read_text(encoding='utf-8')
|
|
assert 'dialog_rules.v1.json' in text
|
|
assert 'pywinauto' in text
|