summaryrefslogtreecommitdiffstats
path: root/tests/test_lps_gen.py
diff options
context:
space:
mode:
authorrsiddharth <rsd@gnu.org>2019-07-13 18:54:24 -0400
committerrsiddharth <rsd@gnu.org>2019-07-13 18:54:24 -0400
commitb202aa341ff1427c668985754e5f87e76aab8591 (patch)
tree33826a26fdbe0a91acc203bd2d39ac2b0e77d477 /tests/test_lps_gen.py
parentdf19a818d8e7091d1d3a2b8d9c31954a50665a23 (diff)
lps_gen.py: Update template_read.
* lps_gen.py (template_read): Add template file extension. * tests/test_lps_gen.py (TestTemplates.test_read): Don't specify template file extension.
Diffstat (limited to 'tests/test_lps_gen.py')
-rw-r--r--tests/test_lps_gen.py6
1 files changed, 3 insertions, 3 deletions
diff --git a/tests/test_lps_gen.py b/tests/test_lps_gen.py
index c4ff1dd..81a3ab6 100644
--- a/tests/test_lps_gen.py
+++ b/tests/test_lps_gen.py
@@ -105,15 +105,15 @@ class TestTemplates(object):
"""
def test_read(self):
- t = template_read('schedule.jinja2')
+ t = template_read('schedule')
assert type(t) is str
assert len(t) > 0
- t = template_read('speakers.jinja2')
+ t = template_read('speakers')
assert type(t) is str
assert len(t) > 0
- t = template_read('nonexistent.jinja2')
+ t = template_read('nonexistent')
assert t is None