~jpakkane/ubuntu-ui-toolkit/albumart

« back to all changes in this revision

Viewing changes to tests/autopilot/ubuntuuitoolkit/emulators.py

  • Committer: CI bot
  • Author(s): tpeeters
  • Date: 2014-03-01 12:52:42 UTC
  • mfrom: (947.5.3 fixTabTests)
  • Revision ID: ps-jenkins@lists.canonical.com-20140301125242-97ffy36cfv49qosv
Fix autopilot and unit tests for TabBar. 

Show diffs side-by-side

added added

removed removed

Lines of Context:
372
372
        for button in buttons:
373
373
            if button.buttonIndex == index:
374
374
                return button
375
 
        else:
376
 
            raise ToolkitEmulatorException(
377
 
                'There is no tab button with index {0}.'.format(index))
 
375
        raise ToolkitEmulatorException(
 
376
            'There is no tab button with index {0}.'.format(index))
378
377
 
379
378
 
380
379
class ActionSelectionPopover(UbuntuUIToolkitEmulatorBase):