More tests for pandoc
This commit is contained in:
parent
112d22b6ed
commit
b7669c53ff
1 changed files with 4 additions and 0 deletions
|
@ -31,6 +31,10 @@ class BuildDocumentTestCase(BaseTestCase):
|
||||||
doc = build_document('# test', None)
|
doc = build_document('# test', None)
|
||||||
self.assertIn('<h1 id="test">test</h1>', doc)
|
self.assertIn('<h1 id="test">test</h1>', doc)
|
||||||
|
|
||||||
|
def converts_nothing_if_plain(self):
|
||||||
|
doc = build_document('test', None)
|
||||||
|
self.assertIn('test', doc)
|
||||||
|
|
||||||
def test_bibliography(self):
|
def test_bibliography(self):
|
||||||
bibliography = {
|
bibliography = {
|
||||||
'references': 'test-files/bib.yaml',
|
'references': 'test-files/bib.yaml',
|
||||||
|
|
Reference in a new issue