~ubuntuone-control-tower/ubuntuone-dev-tools/trunk

« back to all changes in this revision

Viewing changes to ubuntuone/devtools/runners/__init__.py

  • Committer: Tarmac
  • Author(s): Brian Curtin
  • Date: 2012-08-28 17:11:10 UTC
  • mfrom: (91.2.2 udt-map)
  • Revision ID: tarmac-20120828171110-0yy7npwtj5z46hkj
- Store a list for ignore keys rather than a list on Python 2 and an iterator on Python 3

Show diffs side-by-side

added added

removed removed

Lines of Context:
213
213
        """Comma-separate list of test modules to ignore,
214
214
           e.g: test_gtk.py, test_account.py
215
215
           """
216
 
        self['ignore-modules'] = map(text_type.strip, option.split(','))
 
216
        self['ignore-modules'] = list(map(text_type.strip, option.split(',')))
217
217
 
218
218
    def opt_ignore_paths(self, option):
219
219
        """Comma-separated list of relative paths to ignore,
220
220
           e.g: tests/platform/windows, tests/platform/macosx
221
221
           """
222
 
        self['ignore-paths'] = map(text_type.strip, option.split(','))
 
222
        self['ignore-paths'] = list(map(text_type.strip, option.split(',')))
223
223
 
224
224
    def opt_loop(self, option):
225
225
        """Loop tests the specified number of times."""