summaryrefslogtreecommitdiffstats
path: root/tests
diff options
context:
space:
mode:
authorrsiddharth <rsd@gnu.org>2016-02-13 19:04:53 -0500
committerrsiddharth <rsd@gnu.org>2016-02-13 19:04:53 -0500
commit44f073c6a75cce08a833b9e2105468de1d4fa30a (patch)
tree950442fa9f7a1afd0bc13ab593416bbb584b3202 /tests
parent7ab13369e9684ebf182499999620e0cea07328d3 (diff)
cosemetic changes to tests/test_lps_gen.py
Diffstat (limited to 'tests')
-rw-r--r--tests/test_lps_gen.py89
1 files changed, 46 insertions, 43 deletions
diff --git a/tests/test_lps_gen.py b/tests/test_lps_gen.py
index fdc5d59..7fc0e75 100644
--- a/tests/test_lps_gen.py
+++ b/tests/test_lps_gen.py
@@ -363,10 +363,12 @@ class TestLPSpeakers(object):
"""Testing LPSpeakersMarkdown keynote speakers' image url.
"""
- keynote_speaker_img_urls = ['//static.fsf.org/nosvn/libreplanet/speaker-pics/dkg.jpg',
- '//static.fsf.org/nosvn/libreplanet/speaker-pics/snowden.jpg',
- '//static.fsf.org/nosvn/libreplanet/speaker-pics/stallman.jpg',
- '//static.fsf.org/nosvn/libreplanet/speaker-pics/c_snowden.jpg']
+ keynote_speaker_img_urls = [
+ '//static.fsf.org/nosvn/libreplanet/speaker-pics/dkg.jpg',
+ '//static.fsf.org/nosvn/libreplanet/speaker-pics/snowden.jpg',
+ '//static.fsf.org/nosvn/libreplanet/speaker-pics/stallman.jpg',
+ '//static.fsf.org/nosvn/libreplanet/speaker-pics/c_snowden.jpg'
+ ]
@@ -382,7 +384,6 @@ class TestLPSpeakers(object):
"""Testing LPSpeakersMarkdown keynote speakers' image alt text.
"""
-
keynote_speaker_img_alts = ['Daniel Kahn Gillmor - Photo',
'Edward Snowden - Photo',
'Richard Stallman - Photo',
@@ -402,16 +403,15 @@ class TestLPSpeakers(object):
"""Testing LPSpeakersMarkdown keynote speakers' bio.
"""
-
- keynote_speaker_bios = [['Daniel Kahn Gillmor is a technologist with the ACLU\'s Speech, Privacy'],
- ['Edward Snowden is a former intelligence officer who served the CIA,'],
- ['Richard is a software developer and software freedom activist. In 1983',
- 'Since the mid-1990s, Richard has spent most of his time in political',],
- [],
-
- ['Lorem ipsum dolor sit amet, consectetur adipiscing elit. Donec a diam',
- 'Ut turpis felis, pulvinar a semper sed, adipiscing id']]
-
+ keynote_speaker_bios = [
+ ['Daniel Kahn Gillmor is a technologist with the ACLU\'s Speech, Privacy'],
+ ['Edward Snowden is a former intelligence officer who served the CIA,'],
+ ['Richard is a software developer and software freedom activist. In 1983',
+ 'Since the mid-1990s, Richard has spent most of his time in political',],
+ [],
+ ['Lorem ipsum dolor sit amet, consectetur adipiscing elit. Donec a diam',
+ 'Ut turpis felis, pulvinar a semper sed, adipiscing id']
+ ]
i = 0
for kspeaker in self.lpspeakers_dict['keynote-speakers']:
@@ -470,14 +470,16 @@ class TestLPSpeakers(object):
"""Testing LPSpeakersMarkdown speakers' image url.
"""
- speaker_img_urls = ['', '',
- '//static.fsf.org/nosvn/libreplanet/speaker-pics/corvellec.jpg',
- '', '',
- '//static.fsf.org/nosvn/libreplanet/speaker-pics/kurdali.png',
- '//static.fsf.org/nosvn/libreplanet/speaker-pics/lelous.jpg',
- '',
- '//static.fsf.org/nosvn/libreplanet/speaker-pics/nicholson.jpg',
- '//static.fsf.org/nosvn/libreplanet/speaker-pics/zacchiroli.jpg']
+ speaker_img_urls = [
+ '', '',
+ '//static.fsf.org/nosvn/libreplanet/speaker-pics/corvellec.jpg',
+ '', '',
+ '//static.fsf.org/nosvn/libreplanet/speaker-pics/kurdali.png',
+ '//static.fsf.org/nosvn/libreplanet/speaker-pics/lelous.jpg',
+ '',
+ '//static.fsf.org/nosvn/libreplanet/speaker-pics/nicholson.jpg',
+ '//static.fsf.org/nosvn/libreplanet/speaker-pics/zacchiroli.jpg'
+ ]
i = 0
for kspeaker in self.lpspeakers_dict['speakers']:
@@ -491,16 +493,15 @@ class TestLPSpeakers(object):
"""Testing LPSpeakersMarkdown speakers' image alt text.
"""
- speaker_img_alts = ['', '',
- 'Marianne Corvellec - Photo',
- '', '',
- 'Bassam Kurdali - Photo',
- 'Jonathan Le Lous - Photo',
- '',
- 'Deb Nicholson - Photo',
- 'Stefano Zacchiroli - Photo']
-
-
+ speaker_img_alts = [
+ '', '',
+ 'Marianne Corvellec - Photo',
+ '', '',
+ 'Bassam Kurdali - Photo',
+ 'Jonathan Le Lous - Photo',
+ '',
+ 'Deb Nicholson - Photo',
+ 'Stefano Zacchiroli - Photo']
i = 0
for kspeaker in self.lpspeakers_dict['speakers']:
@@ -514,16 +515,18 @@ class TestLPSpeakers(object):
"""Testing LPSpeakersMarkdown speakers' bio.
"""
- speaker_bios = [['Emmanuel is a Division III student at Hampshire College, studying how'],
- [],
- ['Marianne Corvellec has been a Free Software activist with April'],
- ['Richard Fontana is a lawyer at Red Hat. He leads support for Red Hat\'s'],
- [],
- ['Bassam is a 3D animator/filmmaker whose 2006 short, Elephants Dream,'],
- ['Jonathan has been involved with the Free Software Movement for ten'],
- ['M. C. is the founder of Transparency Toolkit, a free software project'],
- [],
- ['Stefano Zacchiroli is Associate Professor of Computer Science at']]
+ speaker_bios = [
+ ['Emmanuel is a Division III student at Hampshire College, studying how'],
+ [],
+ ['Marianne Corvellec has been a Free Software activist with April'],
+ ['Richard Fontana is a lawyer at Red Hat. He leads support for Red Hat\'s'],
+ [],
+ ['Bassam is a 3D animator/filmmaker whose 2006 short, Elephants Dream,'],
+ ['Jonathan has been involved with the Free Software Movement for ten'],
+ ['M. C. is the founder of Transparency Toolkit, a free software project'],
+ [],
+ ['Stefano Zacchiroli is Associate Professor of Computer Science at']
+ ]
i = 0
for kspeaker in self.lpspeakers_dict['speakers']: