예제 #1
0
 def test_note(self):
     style = ReSTStyle(ReSTDocument())
     style.start_note()
     style.end_note()
     self.assertEqual(style.doc.getvalue(),
                      six.b('\n\n.. note::\n\n  \n\n'))
예제 #2
0
파일: test_style.py 프로젝트: boto/botocore
 def test_note(self):
     style = ReSTStyle(ReSTDocument())
     style.start_note()
     style.end_note()
     self.assertEqual(style.doc.getvalue(),
                      six.b('\n\n.. note::\n\n  \n\n'))