Merge lp://qastaging/~indicator-applet-developers/unity8/indicator-power-autopilot-test into lp://qastaging/unity8
Status: | Work in progress |
---|---|
Proposed branch: | lp://qastaging/~indicator-applet-developers/unity8/indicator-power-autopilot-test |
Merge into: | lp://qastaging/unity8 |
Diff against target: |
302 lines (+196/-9) 5 files modified
debian/control (+2/-0) tests/autopilot/unity8/indicators/__init__.py (+20/-0) tests/autopilot/unity8/indicators/tests/__init__.py (+20/-5) tests/autopilot/unity8/indicators/tests/test_indicator_power.py (+145/-0) tests/autopilot/unity8/indicators/tests/test_indicators.py (+9/-4) |
To merge this branch: | bzr merge lp://qastaging/~indicator-applet-developers/unity8/indicator-power-autopilot-test |
Related bugs: |
Reviewer | Review Type | Date Requested | Status |
---|---|---|---|
Albert Astals Cid (community) | Needs Fixing | ||
PS Jenkins bot (community) | continuous-integration | Needs Fixing | |
Leo Arias (community) | Approve | ||
Thomi Richards (community) | Approve | ||
Christopher Lee (community) | Needs Fixing | ||
Review via email: mp+247079@code.qastaging.launchpad.net |
Commit message
Add discharging battery autopilot test.
Description of the change
This test simulates a discharging battery using a fake upower via python-dbusmock.
Offering for commentary with the UEQA team, charles wanting to absorb best practices for writing these autopilot tests.
Note that this requires a couple of related branches:
For a upower template tweak to enable signalling,
https:/
For an indicator-power which will listen on a special private bus for the fake upower:
https:/
NOTE that we're chasing an intermittent failure, may need some pitti advice about, hence WIP.
Unmerged revisions
- 1574. By Allan LeSage
-
Merge trunk, resolving conflicts.
- 1573. By Allan LeSage
-
Relocate python*-dbusmock dependencies.
- 1572. By Allan LeSage
-
Correct python-dbusmock build-deps.
- 1571. By Allan LeSage
-
Remove icon_matches.
- 1570. By Allan LeSage
-
Move PowerIndicator, flake8 correction, restore py2 supers, broken test fix.
- 1569. By Allan LeSage
-
Add python3-dbusmock dependency.
- 1568. By Charles Kerr
-
in __init__, make multiline import follow pep 328
- 1567. By Charles Kerr
-
in IndicatorPowerT
estCase. setUp() , remove the self.main_ window. wait_select_ single( ), since it's also encapsulated in the Indicator helper class - 1566. By Charles Kerr
-
in IndicatorPowerT
estCase. setUp() , don't create a temporary list for service_test_args. - 1565. By Charles Kerr
-
in MockUPower.setUp(), clean up the OSError exception's message
Looking good so far. Some questions and things that need fixing up.