mirror of
https://github.com/nottinghamtec/PyRIGS.git
synced 2026-01-26 01:42:16 +00:00
Add failing test for markdown processing none
This commit is contained in:
@@ -206,3 +206,7 @@ which you wish to be displayed literally, ex.: \`foo\`, \*bar\*, etc.
|
|||||||
# By the time we have a PDF it should be larger than the original by some margin
|
# By the time we have a PDF it should be larger than the original by some margin
|
||||||
# RML hard fails if something doesn't work
|
# RML hard fails if something doesn't work
|
||||||
self.assertGreater(len(response.content), len(self.markdown))
|
self.assertGreater(len(response.content), len(self.markdown))
|
||||||
|
|
||||||
|
def test_nonetype(self):
|
||||||
|
html = markdown_filter(None)
|
||||||
|
self.assertIsNone(html)
|
||||||
|
|||||||
Reference in New Issue
Block a user