The autopilot tests execute code at the module level (at import time)
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
messaging-app (Ubuntu) |
Confirmed
|
Medium
|
Tiago Salem Herrmann |
Bug Description
Installing messaging-
This code should not just blindly execute at the module level (as it gets run when imported i.e. listing the available tests.) and should definitely not get executed on the desktop if it's going to break things.
Below is this is the command that I used and the output that I saw.
On top of this output I saw a network manager popup stating that some connection had failed.
In my NetworkManager drop down I now have some option named '/246813579/
$ python -m autopilot.run list messaging_app
mc-tool: couldn't load account 'ofono/
Try 'mc-tool list' to list known accounts.
creating ofono/ofono/
ofono/ofono/
enabling ofono/ofono/
ofono accounts initialized
initctl: Unknown job: maliit-server
Loading tests from: /usr/lib/
.. snip ...
Related branches
Changed in messaging-app: | |
status: | New → Confirmed |
importance: | Undecided → Medium |
assignee: | nobody → Tiago Salem Herrmann (tiagosh) |
affects: | messaging-app → messaging-app (Ubuntu) |