summaryrefslogtreecommitdiff
path: root/test/unittest_configuration.py
diff options
context:
space:
mode:
authorEmile Anclin <emile.anclin@logilab.fr>2010-11-15 11:56:32 +0100
committerEmile Anclin <emile.anclin@logilab.fr>2010-11-15 11:56:32 +0100
commit2575a944af5839cf1bbafbdfe7f7f55478020014 (patch)
tree69d3e962e42ca99acd40b370028a7365e8a4e999 /test/unittest_configuration.py
parent9dda4d681ecb3a769b39223ca723f98157071335 (diff)
downloadlogilab-common-2575a944af5839cf1bbafbdfe7f7f55478020014.tar.gz
2to3: fix a lot of white space after comma
Diffstat (limited to 'test/unittest_configuration.py')
-rw-r--r--test/unittest_configuration.py6
1 files changed, 3 insertions, 3 deletions
diff --git a/test/unittest_configuration.py b/test/unittest_configuration.py
index 11e9f33..689a067 100644
--- a/test/unittest_configuration.py
+++ b/test/unittest_configuration.py
@@ -31,7 +31,7 @@ DATA = join(dirname(abspath(__file__)), 'data')
options = [('dothis', {'type':'yn', 'action': 'store', 'default': True, 'metavar': '<y or n>'}),
('value', {'type': 'string', 'metavar': '<string>', 'short': 'v'}),
- ('multiple', {'type': 'csv', 'default': ('yop','yep'),
+ ('multiple', {'type': 'csv', 'default': ('yop', 'yep'),
'metavar': '<comma separated values>',
'help': 'you can also document the option'}),
('number', {'type': 'int', 'default':2, 'metavar':'<int>', 'help': 'boom'}),
@@ -62,7 +62,7 @@ class ConfigurationTC(TestCase):
cfg = self.cfg
self.assertEqual(cfg['dothis'], True)
self.assertEqual(cfg['value'], None)
- self.assertEqual(cfg['multiple'], ('yop','yep'))
+ self.assertEqual(cfg['multiple'], ('yop', 'yep'))
self.assertEqual(cfg['number'], 2)
self.assertEqual(cfg['choice'], 'yo')
self.assertEqual(cfg['multiple-choice'], ('yo', 'ye'))
@@ -142,7 +142,7 @@ diffgroup=zou
self.cfg.load_file_configuration(file)
self.assertEqual(self.cfg['dothis'], False)
self.assertEqual(self.cfg['value'], None)
- self.assertEqual(self.cfg['multiple'], ['yop','yepii'])
+ self.assertEqual(self.cfg['multiple'], ['yop', 'yepii'])
self.assertEqual(self.cfg['diffgroup'], 'zou')
finally:
os.remove(file)