summaryrefslogtreecommitdiffstats
path: root/tests
diff options
context:
space:
mode:
authorrsiddharth <rsd@gnu.org>2015-12-19 18:23:21 -0500
committerrsiddharth <rsd@gnu.org>2015-12-19 18:23:21 -0500
commit19c1ac03e916561f2458312e5c9251b0b9eab075 (patch)
tree198a6d376904fba193734607129a84d9584a513a /tests
parent2378aafd0ababffbefc21cfde40f1aadc1d28909 (diff)
updated lps_gen.RenderHTML
When template is not found, instead of returning, it calls sys.exit(1).
Diffstat (limited to 'tests')
-rw-r--r--tests/test_lps_gen.py1
1 files changed, 1 insertions, 0 deletions
diff --git a/tests/test_lps_gen.py b/tests/test_lps_gen.py
index 8473955..2495d6d 100644
--- a/tests/test_lps_gen.py
+++ b/tests/test_lps_gen.py
@@ -163,6 +163,7 @@ class TestLpsGen(object):
print lps_html
+ @raises(SystemExit)
def test_RenderHTML_invalid_year(self):
"""Testing `RenderHTML` function - with invalid year
"""