summaryrefslogtreecommitdiffstats
path: root/tests/test_lps_gen.py
diff options
context:
space:
mode:
authorrsiddharth <rsd@gnu.org>2016-02-07 14:12:33 -0500
committerrsiddharth <rsd@gnu.org>2016-02-07 14:13:24 -0500
commitfa7dec289c0b5b2ab7b447f0c64ec2be0c5e93b9 (patch)
tree473b193ed22112e3b46cdf7ee3dcf5d8dcf2f805 /tests/test_lps_gen.py
parent60e9cc2c904b05970b7c6f43f6fdbad9b78320f7 (diff)
Added template (under tests) for LP speakers' page
Address issue #1.
Diffstat (limited to 'tests/test_lps_gen.py')
-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 c2c94e4..ad66aa9 100644
--- a/tests/test_lps_gen.py
+++ b/tests/test_lps_gen.py
@@ -212,6 +212,9 @@ class TestLPSpeakers(object):
self.MD_FILE = path.join('tests', 'files', 'lp-speakers.md')
self.MD_FILE_CONTENT = read_file(self.MD_FILE)
+ self.SPEAKERS_TEMPLATE = path.join('tests', 'files',
+ 'lp-speakers-2016.jinja2')
+
self.markdown = LPSpeakersMarkdown()
self.lpspeakers_dict = self.markdown(self.MD_FILE_CONTENT)
@@ -431,6 +434,13 @@ class TestLPSpeakers(object):
i = i + 1
+ def test_RenderHTML(self):
+ """Testing `RenderHTML` function with LP speakers
+ """
+ lps_html = RenderHTML(self.lpspeakers_dict, self.SPEAKERS_TEMPLATE)
+ print lps_html
+
+
def teardown(self):
"""Cleans up things after each test in this class."""
pass