summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorrsiddharth <rsd@gnu.org>2017-05-29 23:01:45 +0000
committerrsiddharth <rsd@gnu.org>2017-05-29 23:01:45 +0000
commitf331cd7b47b6fa1cdfe974cc4fa85206dd2b6a90 (patch)
tree0ae65e0b8c6ea3c7ecafa2bb178539192929b0d3
parenta336620f799d84701b912da6850a16f42d819311 (diff)
tests: Update TestLPS.
* tests/files/lp-sch.md: Update file. * tests/test_lps_gen.py (setup_class) (test_LPSMarkdown_timeslot) (test_LPSMarkdown_session): Update methods.
-rw-r--r--tests/files/lp-sch.md4
-rw-r--r--tests/test_lps_gen.py6
2 files changed, 4 insertions, 6 deletions
diff --git a/tests/files/lp-sch.md b/tests/files/lp-sch.md
index 2604c67..cdd01c5 100644
--- a/tests/files/lp-sch.md
+++ b/tests/files/lp-sch.md
@@ -116,9 +116,7 @@ and where we're heading in the future.
### 09:00 - 09:45: Registration and breakfast
-### 09:45 - 10:30: Keynote: Benjamin Mako Hill
-
-#### Access without empowerment
+### 09:45 - 10:30: Keynote: Access without empowerment
Benjamin Mako Hill
diff --git a/tests/test_lps_gen.py b/tests/test_lps_gen.py
index 5448424..2f179ef 100644
--- a/tests/test_lps_gen.py
+++ b/tests/test_lps_gen.py
@@ -358,7 +358,7 @@ 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('..', 'libreplanet-templates/2016',
+ self.SCH_TEMPLATE = path.join('..', 'libreplanet-templates/2018',
'lp-schedule.jinja2')
self.markdown = LPSMarkdown()
@@ -392,7 +392,7 @@ class TestLPS(object):
'11:40 - 11:50: Break',
'11:50 - 12:35: Session Block 2A',
'09:00 - 09:45: Registration and breakfast',
- '09:45 - 10:30: Keynote: Benjamin Mako Hill',
+ '09:45 - 10:30: Keynote: Access without empowerment',
'10:30 - 10:40: Break',
'10:40 - 11:25: Session Block 1B',
]
@@ -415,7 +415,7 @@ class TestLPS(object):
'TAFTA, CETA, TISA: traps and threats to Free Software Everywhere',
'Let\'s encrypt!',
'Attribution revolution -- turning copyright upside-down',
- 'Access without empowerment',
+ 'st-from-ts',
'Fork and ignore: fighting a GPL violation by coding instead',
'Who did this? Just wait until your father gets home',
]