diff options
author | rsiddharth <rsd@gnu.org> | 2015-12-16 22:29:42 -0500 |
---|---|---|
committer | rsiddharth <rsd@gnu.org> | 2015-12-16 22:29:42 -0500 |
commit | b5b8dc5ab0fc8d393e6fdbc18a6944fffdab4857 (patch) | |
tree | 340a3023cd30dd2b7896eff08f56cf5cb5c52fe7 /tests | |
parent | fa817e6ca82350df9d0ae6a817c760f8720bd4f6 (diff) |
'speaker' -> 'speakers'
`speakers` is always a list.
Diffstat (limited to 'tests')
-rw-r--r-- | tests/files/lp-sch.md | 4 | ||||
-rw-r--r-- | tests/test_lps_gen.py | 18 |
2 files changed, 12 insertions, 10 deletions
diff --git a/tests/files/lp-sch.md b/tests/files/lp-sch.md index b45d653..d8d4001 100644 --- a/tests/files/lp-sch.md +++ b/tests/files/lp-sch.md @@ -17,7 +17,9 @@ director. #### Federation and GNU -Christopher Webber +[Christopher Webber][webber] + +[webber]: http://dustycloud.org Room 32-123 diff --git a/tests/test_lps_gen.py b/tests/test_lps_gen.py index 2b89414..19dd69c 100644 --- a/tests/test_lps_gen.py +++ b/tests/test_lps_gen.py @@ -112,22 +112,22 @@ class TestLpsGen(object): Testing `LPSMarkdown` class - Speaker """ speakers = [ - 'Richard Stallman', - 'Christopher Webber', - 'ginger coons', + ['Richard Stallman'], + ['<a href="http://dustycloud.org">Christopher Webber</a>'], + ['ginger coons'], ['Marianne Corvellec', 'Jonathan Le Lous'], - 'Seth Schoen', - 'Jonas Öberg', - 'Benjamin Mako Hill', - 'Bradley Kuhn', - 'Ken Starks', + ['Seth Schoen'], + ['Jonas Öberg'], + ['Benjamin Mako Hill'], + ['Bradley Kuhn'], + ['Ken Starks'], ] 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['speaker'], speakers[i]) + assert_equal(session_info['speakers'], speakers[i]) i = i + 1 |