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

Function verify_is_valid_rst

tests/functional/docs/test_examples.py:181–184  ·  view source on GitHub ↗
(filename)

Source from the content-addressed store, hash-verified

179
180
181def verify_is_valid_rst(filename):
182 _, errors = parse_rst(filename)
183 if errors:
184 raise AssertionError(_make_error_msg(filename, errors))
185
186
187def parse_rst(filename):

Callers 1

test_rst_doc_examplesFunction · 0.85

Calls 2

parse_rstFunction · 0.85
_make_error_msgFunction · 0.85

Tested by

no test coverage detected