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

Method test_danger

tests/unit/bcdoc/test_style.py:140–144  ·  view source on GitHub ↗
(self)

Source from the content-addressed store, hash-verified

138 self.assertEqual(style.doc.getvalue(), b'\n\n.. note::\n\n \n\n')
139
140 def test_danger(self):
141 style = ReSTStyle(ReSTDocument())
142 style.start_danger()
143 style.end_danger()
144 self.assertEqual(style.doc.getvalue(), b'\n\n.. danger::\n\n \n\n')
145
146 def test_toctree_html(self):
147 style = ReSTStyle(ReSTDocument())

Callers

nothing calls this directly

Calls 5

start_dangerMethod · 0.95
end_dangerMethod · 0.95
ReSTStyleClass · 0.90
ReSTDocumentClass · 0.90
getvalueMethod · 0.45

Tested by

no test coverage detected