From e0d56e2a6e5a4be6b15b12835a8b9f64e5792cd4 Mon Sep 17 00:00:00 2001 From: Tom Price Date: Thu, 31 Mar 2016 00:08:56 +0100 Subject: [PATCH] Add failing test for markdown processing none --- RIGS/test_unit.py | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/RIGS/test_unit.py b/RIGS/test_unit.py index f031452b..128fb3b8 100644 --- a/RIGS/test_unit.py +++ b/RIGS/test_unit.py @@ -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 # RML hard fails if something doesn't work self.assertGreater(len(response.content), len(self.markdown)) + + def test_nonetype(self): + html = markdown_filter(None) + self.assertIsNone(html)