MCPcopy
hub / github.com/aws/aws-cli / test_breadcrumbs_man

Method test_breadcrumbs_man

tests/unit/test_clidocs.py:194–209  ·  view source on GitHub ↗
(self)

Source from the content-addressed store, hash-verified

192 return help_command.doc.getvalue().decode('utf-8')
193
194 def test_breadcrumbs_man(self):
195 # Create an arbitrary help command class. This was chosen
196 # because it is fairly easy to instantiate.
197 help_cmd = ServiceHelpCommand(
198 self.session,
199 self.obj,
200 self.command_table,
201 self.arg_table,
202 self.name,
203 self.event_class,
204 )
205
206 doc_handler = CLIDocumentEventHandler(help_cmd)
207 doc_handler.doc_breadcrumbs(help_cmd)
208 # These should not show up in the man page
209 self.assertEqual(help_cmd.doc.getvalue().decode('utf-8'), '')
210
211 def test_breadcrumbs_html(self):
212 help_cmd = ServiceHelpCommand(

Callers

nothing calls this directly

Calls 5

doc_breadcrumbsMethod · 0.95
ServiceHelpCommandClass · 0.90
decodeMethod · 0.80
getvalueMethod · 0.45

Tested by

no test coverage detected