diff options
author | rsiddharth <rsd@gnu.org> | 2016-01-28 20:02:58 -0500 |
---|---|---|
committer | rsiddharth <rsd@gnu.org> | 2016-01-28 20:02:58 -0500 |
commit | e2f21c9bc20d0d13c7b5dd39a60845d14a459ae9 (patch) | |
tree | 82b14858a260083ee1600e16e5d95928b65227a5 /tests | |
parent | b76596ea00c07456b31371bd453be00efdb10510 (diff) |
tests/test_lps_gen.py: added test.
- test_RenderHTML_sessions_only.
Diffstat (limited to 'tests')
-rw-r--r-- | tests/test_lps_gen.py | 10 |
1 files changed, 10 insertions, 0 deletions
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 |