MCPcopy Index your code
hub / github.com/aws/aws-cli / test_breadcrumbs

Method test_breadcrumbs

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

Source from the content-addressed store, hash-verified

722 self.doc_handler = TopicDocumentEventHandler(self.cmd)
723
724 def test_breadcrumbs(self):
725 self.doc_handler.doc_breadcrumbs(self.cmd)
726 self.assertEqual(self.cmd.doc.getvalue().decode('utf-8'), '')
727 self.cmd.doc.target = 'html'
728 self.doc_handler.doc_breadcrumbs(self.cmd)
729 self.assertEqual(
730 '[ :ref:`aws <cli:aws>` . :ref:`topics <cli:aws help topics>` ]',
731 self.cmd.doc.getvalue().decode('utf-8'),
732 )
733
734 def test_title(self):
735 self.doc_handler.doc_title(self.cmd)

Callers

nothing calls this directly

Calls 3

decodeMethod · 0.80
doc_breadcrumbsMethod · 0.45
getvalueMethod · 0.45

Tested by

no test coverage detected