Autopilot tests using the ugly base class
Bug #1234379 reported by
Corey Goldberg
This bug affects 2 people
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
Click Update Manager |
Fix Committed
|
High
|
Leo Arias | ||
click-update-manager (Ubuntu) |
Fix Released
|
Undecided
|
Unassigned | ||
Saucy |
Won't Fix
|
Undecided
|
Unassigned |
Bug Description
insde lp:click-update-manager , there are set of Autopilot tests, which do not currently work.
specifically, `test_UI_is_loaded` test fails.
the issue seems to be:
inside `UbuntuTouchApp
@property
def main_window(self):
return MainWindow(
`MainWindow` does not exist in the namespace, so this will always fail when called.
Related branches
lp://staging/~elopio/click-update-manager/fix1234379-autopilot_tests
- Corey Goldberg (community): Approve
- PS Jenkins bot (community): Approve (continuous-integration)
- Diego Sarmentero (community): Approve
- Ubuntu One hackers: Pending requested
-
Diff: 273 lines (+93/-135)3 files modifiedtests/autopilot/click_update_manager/__init__.py (+85/-117)
tests/autopilot/click_update_manager/main/__init__.py (+0/-1)
tests/autopilot/click_update_manager/test_main.py (+8/-17)
description: | updated |
Changed in click-update-manager: | |
assignee: | nobody → Diego Sarmentero (diegosarmentero) |
importance: | Undecided → High |
status: | New → Triaged |
To post a comment you must log in.
I've checked the suite and no test uses the unimported MainWindow. However, this should be fixed, and cleaned. This test cases where copied from the qtcreator template, that's as ugly as it can be. Assigning to myself.