lpschedule-generator

libreplanet schedule generator - ricketyspace.net/lpschedule-generator
git clone git://git.ricketyspace.net/lpschedule-generator.git
Log | Files | Refs

commit e2f21c9bc20d0d13c7b5dd39a60845d14a459ae9
parent b76596ea00c07456b31371bd453be00efdb10510
Author: rsiddharth <rsd@gnu.org>
Date:   Thu, 28 Jan 2016 20:02:58 -0500

tests/test_lps_gen.py: added test.

- test_RenderHTML_sessions_only.

Diffstat:
tests/test_lps_gen.py | 10++++++++++
1 file changed, 10 insertions(+), 0 deletions(-)

diff --git 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