← Về thư mục
tests/pymatgen/test_scripts.py
- CliResult · class · L52-L56 — class CliResult
- init · method · L53-L56 — def init(self, returncode: int, stdout: str, stderr: str)
- run_script · function · L59-L87 — def run_script( name: str, *arguments: str, cwd: Path | None = None, timeout: int = 60, ) -> CliResult
- payload · function · L90-L96 — def payload(result: CliResult) -> dict
- DependencyFreeTests · class · L99-L166 — class DependencyFreeTests(unittest.TestCase)
- test_all_helps_work_without_importing_optional_packages · method · L100-L105 — def test_all_helps_work_without_importing_optional_packages(self) -> None
- test_io_plan_is_nonexecuting_and_discloses_loss · method · L107-L124 — def test_io_plan_is_nonexecuting_and_discloses_loss(self) -> None
- test_mp_query_defaults_to_plan_and_never_reads_key · method · L126-L144 — def test_mp_query_defaults_to_plan_and_never_reads_key(self) -> None
- test_execute_without_named_key_fails_before_output_or_network · method · L146-L166 — def test_execute_without_named_key_fails_before_output_or_network(self) -> None
- PinnedRuntimeTests · class · L169-L410 — class PinnedRuntimeTests(unittest.TestCase)
- setUpClass · method · L171-L177 — def setUpClass(cls) -> None
- write_structure · method · L179-L189 — def write_structure(self, root: Path) -> Path
- test_structure_tools_on_synthetic_crystal · method · L191-L231 — def test_structure_tools_on_synthetic_crystal(self) -> None
- test_composition_conversion_phase_diagram_and_manifest · method · L233-L328 — def test_composition_conversion_phase_diagram_and_manifest(self) -> None
- test_strict_phase_json_rejects_duplicates · method · L330-L343 — def test_strict_phase_json_rejects_duplicates(self) -> None
- test_mocked_mp_execute_is_bounded_redacted_and_records_db · method · L345-L410 — def test_mocked_mp_execute_is_bounded_redacted_and_records_db(self) -> None
- FakeSummary · class · L346-L352 — class FakeSummary
- search · method · L350-L352 — def search(self, **kwargs)
- FakeMaterials · class · L354-L356 — class FakeMaterials
- init · method · L355-L356 — def init(self)
- FakeMPRester · class · L358-L371 — class FakeMPRester
- init · method · L361-L365 — def init(self, **kwargs)
- enter · method · L367-L368 — def enter(self)
- exit · method · L370-L371 — def exit(self, exc_type, exc, traceback)