~ajalkane/ubuntu-filemanager-app/unlock-to-header

« back to all changes in this revision

Viewing changes to tests/autopilot/filemanager/__init__.py

  • Committer: Tarmac
  • Author(s): nskaggs
  • Date: 2014-10-14 20:44:35 UTC
  • mfrom: (297.2.7 fix-ap-launch)
  • Revision ID: tarmac-20141014204435-6efic9y1t4tjfbkm
This should resolve the applications failure to launch on the device.

Approved by Ubuntu Phone Apps Jenkins Bot.

Show diffs side-by-side

added added

removed removed

Lines of Context:
25
25
from autopilot.introspection import dbus
26
26
import ubuntuuitoolkit
27
27
 
28
 
from filemanager import _common
29
 
 
30
28
logger = logging.getLogger(__name__)
31
29
 
32
30
 
88
86
            self.open_toolbar().click_button('places')
89
87
            return self._get_places_popover()
90
88
        else:
91
 
            raise _common('The places popover cannot be opened on wide mode.')
 
89
            raise FilemanagerException(
 
90
                'The places popover cannot be opened on wide mode.')
92
91
 
93
92
    def _get_places_popover(self):
94
93
        """Return the Places popover."""