Pointer.press uses the removed ._x and ._y properties

Bug #1434946 reported by Leo Arias
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
Autopilot
Fix Released
Undecided
Leo Arias
autopilot (Ubuntu)
New
Undecided
Unassigned
Vivid
New
Undecided
Unassigned

Bug Description

In http://bazaar.launchpad.net/~autopilot/autopilot/trunk/revision/546/autopilot/input/__init__.py, I moved the x and y properties to the backend, removing them from the Pointer class.

I didn't update the press method, so now it is using unexisting properties.

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/address_book_app/tests/test_delete_contact.py", line 68, in test_select
    list_page.select_contacts(indices)
  File "/usr/lib/python3/dist-packages/autopilot/logging.py", line 46, in inner
    return f(instance, *args, **kwargs)
  File "/usr/lib/python3/dist-packages/address_book_app/pages/_contact_list_page.py", line 77, in select_contacts
    self._start_selection(indices[0])
  File "/usr/lib/python3/dist-packages/address_book_app/pages/_contact_list_page.py", line 102, in _start_selection
    self.pointing_device.press()
  File "/usr/lib/python3/dist-packages/autopilot/input/__init__.py", line 596, in press
    self._device.press(self._x, self._y)
AttributeError: 'Pointer' object has no attribute '_x'

Related branches

Revision history for this message
PS Jenkins bot (ps-jenkins) wrote :

Fix committed into lp:autopilot at revision 548, scheduled for release in autopilot, milestone 1.4

Changed in autopilot:
status: In Progress → Fix Committed
Changed in autopilot:
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.