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

Method assert_rendered_docs_contain

tests/unit/test_clidocs.py:57–62  ·  view source on GitHub ↗
(self, expected)

Source from the content-addressed store, hash-verified

55 )
56
57 def assert_rendered_docs_contain(self, expected):
58 writes = [
59 args[0][0] for args in self.help_command.doc.write.call_args_list
60 ]
61 writes = '\n'.join(writes)
62 self.assertIn(expected, writes)
63
64 def assert_proper_indentation(self):
65 indent = self.help_command.doc.style.indent.call_count

Calls

no outgoing calls

Tested by

no test coverage detected