filemanager.tests.test_filemanager.TestFolderListPage.test_create_directory failed on mako #91

Bug #1332563 reported by Brendan Donegan
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
Ubuntu File Manager App
Fix Released
Undecided
Unassigned

Bug Description

This test is failing on mako image #91 with the following error:

Traceback (most recent call last):
  File "/home/phablet/autopilot/filemanager/tests/test_filemanager.py", line 240, in test_create_directory
    dir_ = self._get_file_by_name(dir_name)
  File "/home/phablet/autopilot/filemanager/tests/test_filemanager.py", line 41, in _get_file_by_name
    Eventually(NotEquals(None)))
  File "/usr/lib/python3/dist-packages/testtools/testcase.py", line 404, in assertThat
    mismatch_error = self._matchHelper(matchee, matcher, message, verbose)
  File "/usr/lib/python3/dist-packages/testtools/testcase.py", line 454, in _matchHelper
    mismatch = matcher.match(matchee)
  File "/usr/lib/python3/dist-packages/autopilot/matchers/__init__.py", line 113, in match
    wait_fun(self.matcher, self.timeout)
  File "/usr/lib/python3/dist-packages/autopilot/matchers/__init__.py", line 129, in _callable_wait_for
    new_value = refresh_fn()
  File "/home/phablet/autopilot/filemanager/tests/test_filemanager.py", line 38, in <lambda>
    fileDelegate = lambda: folder_list_page.get_file_by_name(name)
  File "/home/phablet/autopilot/filemanager/emulators.py", line 257, in get_file_by_name
    'File with name "{0}" not found.'.format(name))
ValueError: File with name "Test Directory" not found.

Changed in ubuntu-filemanager-app:
status: New → 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.