← Về thư mục
tests/infographics/test_scripts.py
- SubprocessEnvironmentTests · class · L44-L90 — class SubprocessEnvironmentTests(unittest.TestCase)
- test_only_allowlisted_variables_are_forwarded · method · L45-L54 — def test_only_allowlisted_variables_are_forwarded(self) -> None
- test_the_api_key_is_injected_when_supplied · method · L56-L59 — def test_the_api_key_is_injected_when_supplied(self) -> None
- test_an_empty_key_is_omitted_rather_than_passed_blank · method · L61-L68 — def test_an_empty_key_is_omitted_rather_than_passed_blank(self) -> None
- test_the_allowlist_carries_no_credential_variables · method · L70-L74 — def test_the_allowlist_carries_no_credential_variables(self) -> None
- test_the_allowlist_keeps_tls_and_proxy_settings_working · method · L76-L80 — def test_the_allowlist_keeps_tls_and_proxy_settings_working(self) -> None
- test_the_allowlist_matches_the_schematic_scripts · method · L82-L90 — def test_the_allowlist_matches_the_schematic_scripts(self) -> None: # Both CLIs solve the same problem the same way; a divergence means one # of them was updated and the other forgotten.
- OptionCatalogueTests · class · L93-L141 — class OptionCatalogueTests(unittest.TestCase)
- setUp · method · L101-L102 — def setUp(self) -> None
- test_every_catalogue_is_non_empty_and_free_of_duplicates · method · L104-L109 — def test_every_catalogue_is_non_empty_and_free_of_duplicates(self) -> None
- test_every_catalogued_value_is_documented_by_list_options · method · L111-L123 — def test_every_catalogued_value_is_documented_by_list_options(self) -> None
- test_the_parser_offers_each_catalogue_as_choices · method · L125-L130 — def test_the_parser_offers_each_catalogue_as_choices(self) -> None: #
choices= wired to the catalogue means adding an option is one edit; # a hand-copied list drifts.
- test_the_palettes_are_the_recognised_colourblind_safe_sets · method · L132-L135 — def test_the_palettes_are_the_recognised_colourblind_safe_sets(self) -> None
- test_option_names_are_lowercase_slugs · method · L137-L141 — def test_option_names_are_lowercase_slugs(self) -> None
- ParserTests · class · L144-L169 — class ParserTests(unittest.TestCase)
- test_help_lists_every_documented_flag · method · L145-L150 — def test_help_lists_every_documented_flag(self) -> None
- test_an_unknown_option_value_is_rejected_at_the_boundary · method · L152-L166 — def test_an_unknown_option_value_is_rejected_at_the_boundary(self) -> None
- test_the_generator_script_is_shipped · method · L168-L169 — def test_the_generator_script_is_shipped(self) -> None