lpschedule-generator

libreplanet schedule generator - ricketyspace.net/lpschedule-generator
git clone git://git.ricketyspace.net/lpschedule-generator.git
Log | Files | Refs

commit b479c177c70ef24ffac4628c8b7db7cc16c7d16e
parent de4063e8022efb1e5e49518de989144a6a65cf5b
Author: rsiddharth <rsd@gnu.org>
Date:   Sun,  9 Sep 2018 17:56:58 +0000

test_lps_gen.py: Remove unicode string wrappings.

* tests/test_lps_gen.py (TestJSONUtils.setup_class): Update method.

Diffstat:
tests/test_lps_gen.py | 20++++++++++----------
1 file changed, 10 insertions(+), 10 deletions(-)

diff --git a/tests/test_lps_gen.py b/tests/test_lps_gen.py @@ -32,20 +32,20 @@ class TestJSONUtils(object): def setup_class(self): """Runs before running any tests in this class.""" self.speakers_ids = OrderedDict({ - unicode('Daniel Kahn Gillmor'): 'gillmor', - unicode('Edward Snowden'): 'snowden', - unicode('Richard Stallman'): 'stallman', - unicode('Clara Snowden'): 'clara_snowden', - unicode('Ludovic Courtès'): 'courtes', - unicode('Jonas Öberg'): 'aberg', + 'Daniel Kahn Gillmor': 'gillmor', + 'Edward Snowden': 'snowden', + 'Richard Stallman': 'stallman', + 'Clara Snowden': 'clara_snowden', + 'Ludovic Courtès': 'courtes', + 'Jonas Öberg': 'aberg', }) self.ids_filename = 'speakers.ids' self.speakers_noids = [ - unicode('Daniel Kahn Gillmor'), - unicode('Richard Stallman'), - unicode('Ludovic Courtès'), - unicode('Jonas Öberg'), + 'Daniel Kahn Gillmor', + 'Richard Stallman', + 'Ludovic Courtès', + 'Jonas Öberg', ] self.noids_filename = 'speakers.noids'