filemanager.tests.test_places.PlacesTestCase tests failed on mako #88

Bug #1331948 reported by Brendan Donegan
10
This bug affects 2 people
Affects Status Importance Assigned to Milestone
Ubuntu File Manager App
Fix Released
Undecided
Nicholas Skaggs

Bug Description

These tests are failing on mako image #88 with the following errors:

Traceback (most recent call last):
  File "/home/phablet/autopilot/filemanager/tests/test_places.py", line 37, in test_go_to_root_must_open_the_root_directory
    self.main_view.go_to_place('placeFileSystem')
  File "/usr/lib/python3/dist-packages/autopilot/logging.py", line 46, in inner
    return f(instance, *args, **kwargs)
  File "/home/phablet/autopilot/filemanager/emulators.py", line 46, in go_to_place
    self._go_to_place_from_popover(object_name)
  File "/home/phablet/autopilot/filemanager/emulators.py", line 60, in _go_to_place_from_popover
    place = popover.select_single('Standard', objectName=object_name)
  File "/usr/lib/python3/dist-packages/autopilot/introspection/dbus.py", line 248, in select_single
    raise StateNotFoundError(type_name_str, **kwargs)
autopilot.exceptions.StateNotFoundError: Object not found with name 'Standard' and properties {'objectName': 'placeFileSystem'}.

and

Traceback (most recent call last):
  File "/home/phablet/autopilot/filemanager/tests/test_places.py", line 28, in test_go_home_must_open_the_home_directory
    self.main_view.go_to_place('placeHome')
  File "/usr/lib/python3/dist-packages/autopilot/logging.py", line 46, in inner
    return f(instance, *args, **kwargs)
  File "/home/phablet/autopilot/filemanager/emulators.py", line 46, in go_to_place
    self._go_to_place_from_popover(object_name)
  File "/home/phablet/autopilot/filemanager/emulators.py", line 60, in _go_to_place_from_popover
    place = popover.select_single('Standard', objectName=object_name)
  File "/usr/lib/python3/dist-packages/autopilot/introspection/dbus.py", line 248, in select_single
    raise StateNotFoundError(type_name_str, **kwargs)
autopilot.exceptions.StateNotFoundError: Object not found with name 'Standard' and properties {'objectName': 'placeHome'}.

These are fully reproducible when running locally. grepping the trunk does not find any reference to placeFileSystem and placeHome apart from in the tests themselves.

Related branches

Revision history for this message
Brendan Donegan (brendan-donegan) wrote :

This was introduced by:

revno: 209 [merge]
author: David Planella <email address hidden>
committer: Tarmac
branch nick: trunk
timestamp: Wed 2014-06-18 17:28:12 +0000
message:
  Add places model plugin.

  Approved by Ubuntu Phone Apps Jenkins Bot.

Leo Arias (elopio)
Changed in ubuntu-filemanager-app:
status: New → In Progress
assignee: nobody → Nicholas Skaggs (nskaggs)
Revision history for this message
Ubuntu Phone Apps Jenkins Bot (ubuntu-phone-apps-jenkins-bot) wrote :

Fix committed into lp:ubuntu-filemanager-app at revision 211, scheduled for release in ubuntu-filemanager-app, milestone alpha-1

Changed in ubuntu-filemanager-app:
status: In Progress → Fix Committed
Changed in ubuntu-filemanager-app:
status: Fix Committed → Fix Released
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.