Merge lp:~jonas-drange/ubuntu-system-settings/update-reset-launcher-test into lp:~mzanetti/ubuntu-system-settings/update-reset-launcher
Proposed by
Jonas G. Drange
Status: | Merged |
---|---|
Merged at revision: | 1098 |
Proposed branch: | lp:~jonas-drange/ubuntu-system-settings/update-reset-launcher-test |
Merge into: | lp:~mzanetti/ubuntu-system-settings/update-reset-launcher |
Diff against target: |
103 lines (+20/-35) 2 files modified
tests/autopilot/ubuntu_system_settings/tests/__init__.py (+0/-28) tests/autopilot/ubuntu_system_settings/tests/test_reset.py (+20/-7) |
To merge this branch: | bzr merge lp:~jonas-drange/ubuntu-system-settings/update-reset-launcher-test |
Related bugs: |
Reviewer | Review Type | Date Requested | Status |
---|---|---|---|
Michael Zanetti | Approve | ||
Review via email: mp+236704@code.launchpad.net |
Commit message
[reset] use Gio to assert that favorites were reset
To post a comment you must log in.
Unfortunately this doesn't catch bugs in the code... (also valid for the existing test on favorites already, probably some more)
This test still passes against current trunk, even though that code doesn't reset items. Why, you ask? Because when you run this test (either on desktop or a freshly flashed phone) the launcher's item already are set to the default. So just checking if they are still set to the default after the test doesn't cut it, you'd need to change them before the reset call.