lpschedule-generator

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

commit f3534a95c1914f929b484719284248de30c50442
parent 2bfb8a5291b5a61967796c5d8d8c49eb9250da34
Author: rsiddharth <rsd@gnu.org>
Date:   Thu, 18 Jul 2019 22:49:52 -0400

test_lps_gen.py: Remove reference to paths of templates.

* tests/test_lps_gen.py (TestLPiCal.setup_class)
(TestLPS.setup_class, TestLPSTBA.setup_class): Remove reference of
path of 'schedule.jinja2' template.
(TestLPSpeakers.setup_class): Remove reference of
path of 'speakers.jinja2' template.
(TestSpeakersAutoLinking.setup_class): Remove reference of
path of 'speakers.jinja2' and 'schedule.jinja2' templates.

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

diff --git a/tests/test_lps_gen.py b/tests/test_lps_gen.py @@ -138,9 +138,6 @@ class TestLPiCal(object): self.MD_FILE_S_ONLY = path.join('files', 'lp-sch-sessions-only.md') self.MD_FILE_S_ONLY_CONTENT = read_file(self.MD_FILE_S_ONLY) - self.SCH_TEMPLATE = path.join('..', 'lpschedule_generator/data', - 'schedule.jinja2') - self.markdown = LPSMarkdown() self.lps_dict = self.markdown(self.MD_FILE_CONTENT) self.lps_dict_s_only = self.markdown(self.MD_FILE_S_ONLY_CONTENT) @@ -385,9 +382,6 @@ class TestLPS(object): self.MD_FILE = path.join('files', 'lp-sch.md') self.MD_FILE_CONTENT = read_file(self.MD_FILE) - self.SCH_TEMPLATE = path.join('..', 'lpschedule_generator/data', - 'schedule.jinja2') - self.markdown = LPSMarkdown() self.lps_dict = self.markdown(self.MD_FILE_CONTENT) @@ -614,9 +608,6 @@ class TestLPSTBA(object): self.MD_FILE = path.join('files', 'lp-sch-tba.md') self.MD_FILE_CONTENT = read_file(self.MD_FILE) - self.SCH_TEMPLATE = path.join('..', 'lpschedule_generator/data', - 'schedule.jinja2') - self.markdown = LPSMarkdown() self.lps_dict = self.markdown(self.MD_FILE_CONTENT) @@ -728,9 +719,6 @@ class TestLPSpeakers(object): self.MD_FILE = path.join('files', 'lp-speakers.md') self.MD_FILE_CONTENT = read_file(self.MD_FILE) - self.SPEAKERS_TEMPLATE = path.join('..', 'lpschedule_generator/data', - 'speakers.jinja2') - self.markdown = LPSpeakersMarkdown() self.lpspeakers_dict = self.markdown(self.MD_FILE_CONTENT) @@ -1003,13 +991,9 @@ class TestSpeakersAutoLinking(object): self.SPEAKERS_MD = path.join('files', 'lp-speakers-autolink.md') self.SPEAKERS_MD_CONTENT = read_file(self.SPEAKERS_MD) - self.SPEAKERS_TEMPLATE = path.join('..', 'lpschedule_generator/data', - 'speakers.jinja2') self.SESSIONS_MD = path.join('files', 'lp-sessions-autolink.md') self.SESSIONS_MD_CONTENT = read_file(self.SESSIONS_MD) - self.SESSIONS_TEMPLATE = path.join('..', 'lpschedule_generator/data', - 'schedule.jinja2') def setup(self):