← Về thư mục
tests/pydicom/test_scripts.py
- run_script · function · L27-L40 — def run_script( name: str, *arguments: str, cwd: Path | None = None ) -> subprocess.CompletedProcess[str]
- require_test_stack · function · L43-L51 — def require_test_stack() -> tuple[object, object]
- write_fixture · function · L54-L133 — def write_fixture( path: Path, *, study_uid: str | None = None, referenced_uid: str | None = None, frames: int = 2, ) -> dict[str, str]
- DependencyFreeHelpTests · class · L136-L142 — class DependencyFreeHelpTests(unittest.TestCase)
- test_all_cli_helps_succeed_without_importing_optional_packages · method · L137-L142 — def test_all_cli_helps_succeed_without_importing_optional_packages(self) -> None
- SyntheticInventoryTests · class · L145-L194 — class SyntheticInventoryTests(unittest.TestCase)
- test_redacted_extract_inventory_and_frame_plan · method · L146-L179 — def test_redacted_extract_inventory_and_frame_plan(self) -> None
- test_metadata_only_limits_fail_closed · method · L181-L194 — def test_metadata_only_limits_fail_closed(self) -> None
- PixelRenderingTests · class · L197-L237 — class PixelRenderingTests(unittest.TestCase)
- test_frame_specific_non_diagnostic_render · method · L198-L223 — def test_frame_specific_non_diagnostic_render(self) -> None
- test_render_requires_phi_acknowledgement · method · L225-L237 — def test_render_requires_phi_acknowledgement(self) -> None
- PseudonymizationTests · class · L240-L436 — class PseudonymizationTests(unittest.TestCase)
- test_scoped_uid_consistency_and_sensitive_map_validation · method · L241-L344 — def test_scoped_uid_consistency_and_sensitive_map_validation(self) -> None
- test_in_place_output_is_rejected · method · L346-L372 — def test_in_place_output_is_rejected(self) -> None
- test_permissive_uid_key_is_rejected · method · L375-L396 — def test_permissive_uid_key_is_rejected(self) -> None
- test_fixed_date_shift_preserves_dt_suffix_and_empties_standalone_time · method · L398-L436 — def test_fixed_date_shift_preserves_dt_suffix_and_empties_standalone_time( self, ) -> None
- AuditAndCapabilityTests · class · L439-L481 — class AuditAndCapabilityTests(unittest.TestCase)
- test_deidentification_audit_never_claims_compliance · method · L440-L461 — def test_deidentification_audit_never_claims_compliance(self) -> None
- test_transfer_syntax_capability_inspector · method · L463-L481 — def test_transfer_syntax_capability_inspector(self) -> None