From e2f21c9bc20d0d13c7b5dd39a60845d14a459ae9 Mon Sep 17 00:00:00 2001 From: rsiddharth Date: Thu, 28 Jan 2016 20:02:58 -0500 Subject: tests/test_lps_gen.py: added test. - test_RenderHTML_sessions_only. --- tests/test_lps_gen.py | 10 ++++++++++ 1 file changed, 10 insertions(+) (limited to 'tests') diff --git a/tests/test_lps_gen.py b/tests/test_lps_gen.py index 8a23aff..b0f14e7 100644 --- a/tests/test_lps_gen.py +++ b/tests/test_lps_gen.py @@ -167,6 +167,16 @@ class TestLpsGen(object): print lps_html + def test_RenderHTML_sessions_only(self): + """Testing `RenderHTML` function - sessions only + """ + md_content = read_file(path.join('tests', 'files', + 'lp-sch-sessions-only.md')) + + lps_html = RenderHTML(self.markdown(md_content), + self.SCH_TEMPLATE) + print lps_html + @raises(SystemExit) def test_RenderHTML_nonexistent_template(self): """Testing `RenderHTML` function - with non-existent template -- cgit v1.2.3