← Về thư mục
tests/latchbio-integration/test_scripts.py
- NormalizeReprTests · class · L35-L57 — class NormalizeReprTests(unittest.TestCase)
- test_object_repr_loses_its_address · method · L38-L42 — def test_object_repr_loses_its_address(self) -> None
- test_bare_addresses_are_replaced_everywhere · method · L44-L48 — def test_bare_addresses_are_replaced_everywhere(self) -> None
- test_text_without_an_address_is_untouched · method · L50-L53 — def test_text_without_an_address_is_untouched(self) -> None
- test_scrubbing_is_idempotent · method · L55-L57 — def test_scrubbing_is_idempotent(self) -> None
- SafeSignatureTests · class · L60-L69 — class SafeSignatureTests(unittest.TestCase)
- test_a_signature_is_returned_for_an_ordinary_function · method · L61-L64 — def test_a_signature_is_returned_for_an_ordinary_function(self) -> None
- test_objects_without_a_signature_yield_none_rather_than_raising · method · L66-L69 — def test_objects_without_a_signature_yield_none_rather_than_raising(self) -> None
- SymbolInspectionTests · class · L72-L99 — class SymbolInspectionTests(unittest.TestCase)
- test_an_available_symbol_is_reported_with_its_kind_and_signature · method · L73-L79 — def test_an_available_symbol_is_reported_with_its_kind_and_signature(self) -> None
- test_a_missing_symbol_is_reported_without_raising · method · L81-L84 — def test_a_missing_symbol_is_reported_without_raising(self) -> None
- test_an_unimportable_module_becomes_the_diagnostic · method · L86-L92 — def test_an_unimportable_module_becomes_the_diagnostic(self) -> None
- test_plain_symbols_carry_no_workflow_interface · method · L94-L99 — def test_plain_symbols_carry_no_workflow_interface(self) -> None: #
python_interface only appears for Latch workflow objects; it must # not be invented for ordinary callables.
- MethodInspectionTests · class · L102-L115 — class MethodInspectionTests(unittest.TestCase)
- test_present_and_absent_methods_are_distinguished · method · L103-L110 — def test_present_and_absent_methods_are_distinguished(self) -> None
- test_an_unimportable_class_reports_one_error_not_per_method · method · L112-L115 — def test_an_unimportable_class_reports_one_error_not_per_method(self) -> None
- CatalogueTests · class · L118-L148 — class CatalogueTests(unittest.TestCase)
- test_every_symbol_group_is_non_empty_and_latch_scoped · method · L119-L126 — def test_every_symbol_group_is_non_empty_and_latch_scoped(self) -> None
- test_no_symbol_is_catalogued_twice · method · L128-L135 — def test_no_symbol_is_catalogued_twice(self) -> None
- test_method_targets_are_also_catalogued_as_symbols · method · L137-L148 — def test_method_targets_are_also_catalogued_as_symbols(self) -> None: # A class whose methods are probed must itself be in SYMBOL_GROUPS, or # the report cannot say whether a missing method means a missing class.
- RequiredSymbolTests · class · L151-L197 — class RequiredSymbolTests(unittest.TestCase)
- _report · method · L152-L160 — def _report(self, availability: dict[str, bool]) -> dict
- test_a_fully_available_sdk_has_no_required_failures · method · L171-L173 — def test_a_fully_available_sdk_has_no_required_failures(self) -> None
- test_any_single_missing_core_symbol_is_a_failure · method · L175-L182 — def test_any_single_missing_core_symbol_is_a_failure(self) -> None
- test_an_empty_report_counts_as_failing · method · L184-L187 — def test_an_empty_report_counts_as_failing(self) -> None
- test_every_required_symbol_is_one_the_script_catalogues · method · L189-L197 — def test_every_required_symbol_is_one_the_script_catalogues(self) -> None
- ReportShapeTests · class · L200-L223 — class ReportShapeTests(unittest.TestCase)
- test_the_report_describes_the_environment_and_every_group · method · L201-L208 — def test_the_report_describes_the_environment_and_every_group(self) -> None
- test_the_report_is_json_serialisable · method · L210-L213 — def test_the_report_is_json_serialisable(self) -> None: # --json is the documented machine-readable path, so nothing in the # report may be a non-serialisable introspection object.
- test_printing_a_report_without_the_sdk_does_not_raise · method · L215-L223 — def test_printing_a_report_without_the_sdk_does_not_raise(self) -> None
- ExitCodeTests · class · L226-L261 — class ExitCodeTests(unittest.TestCase)
- _run · method · L227-L233 — def _run(self, *flags: str) -> subprocess.CompletedProcess
- test_a_missing_sdk_exits_two_regardless_of_strict · method · L235-L247 — def test_a_missing_sdk_exits_two_regardless_of_strict(self) -> None
- test_json_output_parses_even_when_the_sdk_is_absent · method · L249-L253 — def test_json_output_parses_even_when_the_sdk_is_absent(self) -> None
- test_an_installed_sdk_exits_zero · method · L255-L261 — def test_an_installed_sdk_exits_zero(self) -> None