summaryrefslogtreecommitdiffstats
path: root/tests
diff options
context:
space:
mode:
Diffstat (limited to 'tests')
-rw-r--r--tests/test_lps_gen.py24
1 files changed, 24 insertions, 0 deletions
diff --git a/tests/test_lps_gen.py b/tests/test_lps_gen.py
index 807a852..bf83b30 100644
--- a/tests/test_lps_gen.py
+++ b/tests/test_lps_gen.py
@@ -476,6 +476,30 @@ class TestLPS(object):
i = i + 1
+ def test_LPSMarkdown_video(self):
+ """Testing `LPSMarkdown` class - Video
+ """
+
+ videos = [
+ 'https://media.libre.planet/rms-free-everything',
+ 'https://media.libre.planet/gnu-fed',
+ 'VideoTBA',
+ 'https://media.libre.planet/tafta-ceta-tisa',
+ 'https://media.libre.planet/letsencrypt',
+ 'VideoTBA',
+ 'https://media.libre.planet/mako-keynote',
+ 'https://media.libre.planet/fork-ignore',
+ 'VideoTBA',
+ ]
+
+ i = 0
+ for lps_timeslots in self.lps_dict.values():
+ for lps_sessions in lps_timeslots.values():
+ for session_info in lps_sessions.values():
+ assert_equal(session_info['video'], videos[i])
+ i = i + 1
+
+
def test_RenderHTML(self):
"""Testing `RenderHTML` function with LP schedule
"""