summaryrefslogtreecommitdiffstats
path: root/tests
diff options
context:
space:
mode:
authorrsiddharth <rsd@gnu.org>2016-01-28 20:02:58 -0500
committerrsiddharth <rsd@gnu.org>2016-01-28 20:02:58 -0500
commite2f21c9bc20d0d13c7b5dd39a60845d14a459ae9 (patch)
tree82b14858a260083ee1600e16e5d95928b65227a5 /tests
parentb76596ea00c07456b31371bd453be00efdb10510 (diff)
tests/test_lps_gen.py: added test.
- test_RenderHTML_sessions_only.
Diffstat (limited to 'tests')
-rw-r--r--tests/test_lps_gen.py10
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