← Về thư mục
tests/treatment-plans/test_scripts.py
- load_asset · function · L31-L32 — def load_asset(name: str) -> dict
- complete_synthetic_documents · function · L35-L245 — def complete_synthetic_documents() -> dict[str, dict]
- write_package · function · L248-L253 — def write_package(root: Path, documents: dict[str, dict]) -> None
- StaticSafetyTests · class · L256-L335 — class StaticSafetyTests(unittest.TestCase)
- test_scripts_have_no_network_dynamic_or_process_features · method · L257-L291 — def test_scripts_have_no_network_dynamic_or_process_features(self) -> None
- test_old_specialty_and_schematic_files_are_absent · method · L293-L297 — def test_old_specialty_and_schematic_files_are_absent(self) -> None
- test_assets_are_generic_json_only · method · L299-L314 — def test_assets_are_generic_json_only(self) -> None
- test_skill_is_versioned_and_under_500_lines · method · L316-L321 — def test_skill_is_versioned_and_under_500_lines(self) -> None
- test_all_script_help_commands_are_dependency_free · method · L323-L335 — def test_all_script_help_commands_are_dependency_free(self) -> None
- StructureAndBoundsTests · class · L338-L415 — class StructureAndBoundsTests(unittest.TestCase)
- test_template_is_structurally_valid_but_incomplete · method · L339-L350 — def test_template_is_structurally_valid_but_incomplete(self) -> None
- test_complete_synthetic_package_passes_all_checks · method · L352-L364 — def test_complete_synthetic_package_passes_all_checks(self) -> None
- test_unknown_field_fails_closed · method · L366-L370 — def test_unknown_field_fails_closed(self) -> None
- test_duplicate_json_key_is_rejected · method · L372-L383 — def test_duplicate_json_key_is_rejected(self) -> None
- test_excessive_json_depth_is_rejected · method · L385-L397 — def test_excessive_json_depth_is_rejected(self) -> None
- test_url_input_path_is_rejected · method · L399-L403 — def test_url_input_path_is_rejected(self) -> None
- test_symlink_input_is_rejected · method · L405-L415 — def test_symlink_input_is_rejected(self) -> None
- WorkflowTests · class · L418-L522 — class WorkflowTests(unittest.TestCase)
- test_generator_creates_six_blocked_templates · method · L419-L436 — def test_generator_creates_six_blocked_templates(self) -> None
- test_generator_requires_explicit_real_patient_acknowledgment · method · L438-L448 — def test_generator_requires_explicit_real_patient_acknowledgment(self) -> None
- test_traceability_fails_unknown_fact_without_echoing_content · method · L450-L465 — def test_traceability_fails_unknown_fact_without_echoing_content(self) -> None
- test_timeline_uses_only_explicit_dates · method · L467-L480 — def test_timeline_uses_only_explicit_dates(self) -> None
- test_timeline_does_not_expand_frequency_text · method · L482-L494 — def test_timeline_does_not_expand_frequency_text(self) -> None
- test_consistency_rejects_reversed_supplied_dates · method · L496-L507 — def test_consistency_rejects_reversed_supplied_dates(self) -> None
- test_patient_derived_package_requires_qualified_privacy_review · method · L509-L522 — def test_patient_derived_package_requires_qualified_privacy_review(self) -> None