AP Tests mangle /home when run on phablet devices
Bug #1292044 reported by
Nicholas Skaggs
on 2014-03-13
This bug affects 2 people
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
| Ubuntu Music App |
Medium
|
Unassigned |
Bug Description
The autopilot test suite doesn't properly mock an environment before running tests leaving your /home/Music folder mangled on phablet devices are running. The tests should setup a temporary environment and not touch your /home or /home/Music folders.
Related branches
lp:~nskaggs/music-app/fix-1292044
- Victor Thompson: Approve on 2014-04-30
- Ubuntu Phone Apps Jenkins Bot: Approve (continuous-integration) on 2014-04-30
-
Diff: 191 lines (+25/-81)1 file modifiedtests/autopilot/music_app/tests/__init__.py (+25/-81)
Victor Thompson (vthompson)
on 2014-03-13
Changed in music-app: | |
status: | New → Confirmed |
Nicholas Skaggs (nskaggs) wrote : | #1 |
Alan Pope 🍺🐧🐱 🦄 (popey) wrote : | #2 |
This is quite frustrating in that every time I run autopilot tests on my device I lose my entire music collection and have to put it all back again. We shouldn't do that.
Changed in music-app: | |
importance: | Undecided → Medium |
Fix committed into lp:music-app at revision None, scheduled for release in music-app, milestone 1.0
Changed in music-app: | |
status: | Confirmed → Fix Committed |
Victor Thompson (vthompson)
on 2014-05-20
Changed in music-app: | |
status: | Fix Committed → Fix Released |
To post a comment you must log in.
I'll note the code to do this is already present but has been skipped when running on phablet devices (anything running with click). Work needs to be done to support phablet devices and have them use the same process.