MCPcopy Create free account
hub / github.com/aws/aws-cli / test_rst_doc_examples

Function test_rst_doc_examples

tests/functional/docs/test_examples.py:137–141  ·  view source on GitHub ↗
(command_validator, example_file)

Source from the content-addressed store, hash-verified

135@pytest.mark.filterwarnings('ignore::DeprecationWarning')
136@pytest.mark.parametrize("example_file", RST_DOC_EXAMPLES)
137def test_rst_doc_examples(command_validator, example_file):
138 verify_has_only_ascii_chars(example_file)
139 verify_is_valid_rst(example_file)
140 verify_cli_commands_valid(example_file, command_validator)
141 verify_no_http_links(example_file)
142
143
144def verify_no_http_links(filename):

Callers

nothing calls this directly

Calls 4

verify_is_valid_rstFunction · 0.85
verify_no_http_linksFunction · 0.85

Tested by

no test coverage detected