summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--README.rst6
-rw-r--r--libreplanet-templates/2016/lp-schedule.jinja2 (renamed from tests/files/lp-sch-2016.jinja2)0
-rw-r--r--libreplanet-templates/2016/lp-speakers.jinja2 (renamed from tests/files/lp-speakers-2016.jinja2)0
-rw-r--r--tests/test_lps_gen.py16
4 files changed, 11 insertions, 11 deletions
diff --git a/README.rst b/README.rst
index c641396..d74b6ba 100644
--- a/README.rst
+++ b/README.rst
@@ -53,7 +53,7 @@ LP schedule usage
or::
- $ lps_gen --schedule path/to/lp-sch.jinja2 path/to/lp-sch.md > path/to/program-schedule.html
+ $ lps_gen --schedule path/to/lp-schedule.jinja2 path/to/lp-sch.md > path/to/program-schedule.html
LP schedule markdown structure
@@ -178,11 +178,11 @@ LP speakers usage
~~~~~~~~~~~~~~~~~
::
- $ lps_gen -sp path/to/lp-speakers-2016.jinja2 path/to/lp-speakers.md > path/to/speakers-content.html
+ $ lps_gen -sp path/to/lp-speakers.jinja2 path/to/lp-speakers.md > path/to/speakers-content.html
or::
- $ lps_gen --speakers path/to/lp-speakers-2016.jinja2 path/to/lp-speakers.md > path/to/speakers-content.html
+ $ lps_gen --speakers path/to/lp-speakers.jinja2 path/to/lp-speakers.md > path/to/speakers-content.html
LP speakers markdown structure
``````````````````````````````
diff --git a/tests/files/lp-sch-2016.jinja2 b/libreplanet-templates/2016/lp-schedule.jinja2
index 0f0e372..0f0e372 100644
--- a/tests/files/lp-sch-2016.jinja2
+++ b/libreplanet-templates/2016/lp-schedule.jinja2
diff --git a/tests/files/lp-speakers-2016.jinja2 b/libreplanet-templates/2016/lp-speakers.jinja2
index 5c1c132..5c1c132 100644
--- a/tests/files/lp-speakers-2016.jinja2
+++ b/libreplanet-templates/2016/lp-speakers.jinja2
diff --git a/tests/test_lps_gen.py b/tests/test_lps_gen.py
index 7fc0e75..7149066 100644
--- a/tests/test_lps_gen.py
+++ b/tests/test_lps_gen.py
@@ -125,8 +125,8 @@ 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('files',
- 'lp-sch-2016.jinja2')
+ self.SCH_TEMPLATE = path.join('..', 'libreplanet-templates/2016',
+ 'lp-schedule.jinja2')
self.markdown = LPSMarkdown()
self.lps_dict = self.markdown(self.MD_FILE_CONTENT)
@@ -304,8 +304,8 @@ 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('files',
- 'lp-speakers-2016.jinja2')
+ self.SPEAKERS_TEMPLATE = path.join('..', 'libreplanet-templates/2016',
+ 'lp-speakers.jinja2')
self.markdown = LPSpeakersMarkdown()
self.lpspeakers_dict = self.markdown(self.MD_FILE_CONTENT)
@@ -579,13 +579,13 @@ 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('files',
- 'lp-speakers-2016.jinja2')
+ self.SPEAKERS_TEMPLATE = path.join('..', 'libreplanet-templates/2016',
+ 'lp-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('files',
- 'lp-sch-2016.jinja2')
+ self.SESSIONS_TEMPLATE = path.join('..', 'libreplanet-templates/2016',
+ 'lp-schedule.jinja2')
def setup(self):