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

Method test_important

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

Source from the content-addressed store, hash-verified

126 self.assertEqual(style.doc.getvalue(), b'::\n\n foobar\n\n\n')
127
128 def test_important(self):
129 style = ReSTStyle(ReSTDocument())
130 style.start_important()
131 style.end_important()
132 self.assertEqual(style.doc.getvalue(), b'\n\n.. warning::\n\n \n\n')
133
134 def test_note(self):
135 style = ReSTStyle(ReSTDocument())

Callers

nothing calls this directly

Calls 5

start_importantMethod · 0.95
end_importantMethod · 0.95
ReSTStyleClass · 0.90
ReSTDocumentClass · 0.90
getvalueMethod · 0.45

Tested by

no test coverage detected