Merge lp:~canonical-platform-qa/camera-app/use_app_for_pointing_device into lp:camera-app
Proposed by
Leo Arias
Status: | Merged |
---|---|
Approved by: | Florian Boucault |
Approved revision: | 515 |
Merged at revision: | 570 |
Proposed branch: | lp:~canonical-platform-qa/camera-app/use_app_for_pointing_device |
Merge into: | lp:camera-app |
Prerequisite: | lp:~canonical-platform-qa/camera-app/fix1444170-flake8 |
Diff against target: |
21 lines (+2/-2) 1 file modified
tests/autopilot/camera_app/emulators/main_window.py (+2/-2) |
To merge this branch: | bzr merge lp:~canonical-platform-qa/camera-app/use_app_for_pointing_device |
Related bugs: |
Reviewer | Review Type | Date Requested | Status |
---|---|---|---|
PS Jenkins bot | continuous-integration | Needs Fixing | |
Vincent Ladeuil (community) | Approve | ||
Ubuntu Phablet Team | Pending | ||
Leo Arias | Pending | ||
Review via email: mp+259204@code.launchpad.net |
This proposal supersedes a proposal from 2015-02-18.
Commit message
Use pointing_device from self.app instead of the testCase passed in
Description of the change
A couple of the functions in the MainWindow class oddly assume that the AutopilotTestCase has a pointing_device member. This is not necessarily the case but the app proxy is sure to have one, and the MainWindow class already stores the app proxy in self.app so we should really use that instead of the testCase to provide the pointing device
To post a comment you must log in.
lgtm.
A future improvement is to make the MainWindow a custom proxy object, then there will be no need to save the app proxy as an instance var.