After autopilot test refactor, tests need to explicitly decorated to setup lightDM mock
Bug #1204772 reported by
Christopher Lee
This bug affects 1 person
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
unity8 (Ubuntu) |
Fix Released
|
Undecided
|
Christopher Lee |
Bug Description
Test authors are expected to decorate their tests to properly patch the correct mocks (i.e. use @with_lightdm_
If this doesn't happen unity8 fails to launch correctly and there isn't a proper error message to say what went wrong.
Related branches
lp:~veebers/unity8/fix_1204772_mock_light_decorator
- Michał Sawicz: Approve
- PS Jenkins bot (community): Approve (continuous-integration)
-
Diff: 156 lines (+34/-33)3 files modifiedtests/autopilot/unity8/shell/__init__.py (+1/-27)
tests/autopilot/unity8/shell/tests/__init__.py (+33/-1)
tests/autopilot/unity8/shell/tests/test_hud.py (+0/-5)
Changed in unity8: | |
status: | Fix Committed → Fix Released |
affects: | unity8 → unity8 (Ubuntu) |
To post a comment you must log in.
Fix committed into lp:unity8 at revision 130, scheduled for release in unity8, milestone Unknown