More tests for pandoc

This commit is contained in:
Jake Howard 2017-05-28 14:06:44 +01:00
parent 112d22b6ed
commit b7669c53ff

View file

@ -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',