示例#1
0
文件: test_style.py 项目: boto/bcdoc
 def test_h2(self):
     style = ReSTStyle(ReSTDocument())
     style.h2('foobar fiebaz')
     self.assertEqual(
         style.doc.getvalue(),
         six.b('\n\n=============\nfoobar fiebaz\n=============\n\n'))
示例#2
0
 def test_h2(self):
     style = ReSTStyle(ReSTDocument())
     style.h2('foobar fiebaz')
     self.assertEqual(
         style.doc.getvalue(),
         six.b('\n\n=============\nfoobar fiebaz\n=============\n\n'))