From fa7dec289c0b5b2ab7b447f0c64ec2be0c5e93b9 Mon Sep 17 00:00:00 2001 From: rsiddharth Date: Sun, 7 Feb 2016 14:12:33 -0500 Subject: Added template (under tests) for LP speakers' page Address issue #1. --- tests/test_lps_gen.py | 10 ++++++++++ 1 file changed, 10 insertions(+) (limited to 'tests/test_lps_gen.py') 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 -- cgit v1.2.3