python3-evdev should be a Depends for autopilot-touch
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
Autopilot |
New
|
Undecided
|
Unassigned |
Bug Description
I ran into a weird dependency issue while working on https:/
When I don't (revno 978) but use needs-recommends instead, some test fail with:
14:29:57.292 INFO __init__:286 - You cannot create a Mouse on the devices where X11 is not available. consider using a Touch or Pointer device. For more information, see: http://
14:29:57.730 ERROR testresult:44 - ERROR: webbrowser_
14:29:57.732 ERROR testresult:44 - traceback-1: {{{
Traceback (most recent call last):
File "/tmp/adt-
obj.
File "/tmp/adt-
move_
File "/tmp/adt-
Mouse.
File "/tmp/adt-
"Cannot create a Mouse on devices where X11 is not available."
RuntimeError: Cannot create a Mouse on devices where X11 is not available.
My gut feeling is that some recommends are installed on the phone and they shouldn't (may be python3-xlib) because that confuse autopilot about which platform it's running on (or something ;)
Discussing the issue on IRC:
<vila> pitti: about needs-recommends, I wondered if python3-evdev should move to Depends in autopilot-touch ?
<pitti> vila: for -touch, I think yes