summaryrefslogtreecommitdiffstats
path: root/tests/test_lps_gen.py
diff options
context:
space:
mode:
Diffstat (limited to 'tests/test_lps_gen.py')
-rw-r--r--tests/test_lps_gen.py14
1 files changed, 14 insertions, 0 deletions
diff --git a/tests/test_lps_gen.py b/tests/test_lps_gen.py
index 8d57620..26c6132 100644
--- a/tests/test_lps_gen.py
+++ b/tests/test_lps_gen.py
@@ -100,6 +100,20 @@ class TestJSONUtils(object):
os.chdir(self.old_cwd)
+class TestTemplates(object):
+ """Petty tests for lp templates.
+ """
+
+ def test_read(self):
+ t = template_read('schedule.jinja2')
+ assert type(t) is str
+ assert len(t) > 0
+
+ t = template_read('speakers.jinja2')
+ assert type(t) is str
+ assert len(t) > 0
+
+
class TestLPiCal(object):
"""
Testing LPiCal class.