← Về thư mục
tests/fluidsim/test_scripts.py
- run_script · function · L38-L51 — def run_script( name: str, *arguments: str, cwd: Path | None = None ) -> subprocess.CompletedProcess[str]
- write_config · function · L54-L60 — def write_config(root: Path, config: dict | None = None) -> Path
- HelpAndSchemaTests · class · L63-L99 — class HelpAndSchemaTests(unittest.TestCase)
- test_all_helps_are_dependency_free · method · L64-L69 — def test_all_helps_are_dependency_free(self) -> None
- test_example_is_valid_and_scientifically_nonconclusive · method · L71-L75 — def test_example_is_valid_and_scientifically_nonconclusive(self) -> None
- test_strict_json_rejects_duplicate_and_nonfinite_values · method · L77-L89 — def test_strict_json_rejects_duplicate_and_nonfinite_values(self) -> None
- test_old_cfl_name_and_path_traversal_fail_closed · method · L91-L99 — def test_old_cfl_name_and_path_traversal_fail_closed(self) -> None
- PlanningTests · class · L102-L155 — class PlanningTests(unittest.TestCase)
- test_resource_estimate_is_bounded_and_not_runtime_claim · method · L103-L114 — def test_resource_estimate_is_bounded_and_not_runtime_claim(self) -> None
- test_generated_script_defaults_to_dry_run · method · L116-L136 — def test_generated_script_defaults_to_dry_run(self) -> None
- test_generator_writes_only_reviewed_local_script · method · L138-L155 — def test_generator_writes_only_reviewed_local_script(self) -> None
- OutputTests · class · L158-L235 — class OutputTests(unittest.TestCase)
- test_plain_output_inventory_does_not_need_h5py · method · L159-L173 — def test_plain_output_inventory_does_not_need_h5py(self) -> None
- test_scalar_json_lines_and_text_are_aggregated · method · L175-L196 — def test_scalar_json_lines_and_text_are_aggregated(self) -> None
- test_hdf5_metadata_and_bounded_spectrum_when_available · method · L198-L235 — def test_hdf5_metadata_and_bounded_spectrum_when_available(self) -> None
- RestartTests · class · L238-L291 — class RestartTests(unittest.TestCase)
- _target · method · L239-L250 — def _target(self, digest: str) -> dict
- _manifest · method · L252-L274 — def _manifest(self, digest: str) -> dict
- test_manifest_compatibility_and_grid_mismatch · method · L276-L291 — def test_manifest_compatibility_and_grid_mismatch(self) -> None