Autopilot tests are compatible with py2
Bug #1429163 reported by
Leo Arias
This bug affects 2 people
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
ubuntu-ui-toolkit (Ubuntu) |
Fix Released
|
Undecided
|
Leo Arias | ||
Vivid |
New
|
Undecided
|
Unassigned | ||
unity8 (Ubuntu) |
Fix Released
|
Undecided
|
Leo Arias |
Bug Description
The autopilot suite of tests and helpers in the toolkit is compatible with py2.
We should drop the py2 support to simplify the code and to avoid all the py2 requirements that get installed when we want to run any test.
Related branches
lp://staging/~canonical-platform-qa/unity8/nopy2
- Albert Astals Cid (community): Approve
- PS Jenkins bot (community): Needs Fixing (continuous-integration)
- Ubuntu Unity PS integration team: Pending requested
-
Diff: 631 lines (+49/-99)23 files modifiedCODING (+5/-5)
cmake/modules/autopilot.cmake (+0/-8)
debian/control (+0/-8)
debian/rules (+2/-2)
tests/autopilot/setup.py (+2/-2)
tests/autopilot/unity8/application_lifecycle/tests/__init__.py (+2/-2)
tests/autopilot/unity8/application_lifecycle/tests/test_application_lifecycle.py (+2/-4)
tests/autopilot/unity8/application_lifecycle/tests/test_url_dispatcher.py (+2/-2)
tests/autopilot/unity8/fixture_setup.py (+4/-4)
tests/autopilot/unity8/indicators/__init__.py (+1/-1)
tests/autopilot/unity8/indicators/tests/__init__.py (+1/-1)
tests/autopilot/unity8/indicators/tests/test_indicators.py (+2/-4)
tests/autopilot/unity8/process_helpers.py (+2/-9)
tests/autopilot/unity8/shell/__init__.py (+2/-2)
tests/autopilot/unity8/shell/emulators/create_interactive_notification.py (+2/-3)
tests/autopilot/unity8/shell/emulators/dash.py (+3/-3)
tests/autopilot/unity8/shell/fixture_setup.py (+2/-2)
tests/autopilot/unity8/shell/tests/__init__.py (+3/-3)
tests/autopilot/unity8/shell/tests/test_emulators.py (+4/-4)
tests/autopilot/unity8/shell/tests/test_lock_screen.py (+1/-9)
tests/autopilot/unity8/shell/tests/test_notifications.py (+4/-12)
tests/autopilot/unity8/shell/tests/test_tutorial.py (+2/-2)
tests/autopilot/unity8/shell/tests/test_upstart.py (+1/-7)
lp://staging/~canonical-platform-qa/ubuntu-ui-toolkit/fix1429163-nopy2
- Cris Dywan: Approve
- PS Jenkins bot: Approve (continuous-integration)
-
Diff: 1057 lines (+87/-154)42 files modifieddebian/control (+0/-9)
debian/ubuntu-ui-toolkit-autopilot.install (+0/-1)
push_to_phone.sh (+0/-1)
tests/autopilot/ubuntuuitoolkit/_custom_proxy_objects/_common.py (+2/-2)
tests/autopilot/ubuntuuitoolkit/_custom_proxy_objects/_header.py (+1/-1)
tests/autopilot/ubuntuuitoolkit/_custom_proxy_objects/_mainview.py (+2/-2)
tests/autopilot/ubuntuuitoolkit/_custom_proxy_objects/_textfield.py (+1/-1)
tests/autopilot/ubuntuuitoolkit/_custom_proxy_objects/popups.py (+0/-3)
tests/autopilot/ubuntuuitoolkit/base.py (+2/-2)
tests/autopilot/ubuntuuitoolkit/fixture_setup.py (+10/-10)
tests/autopilot/ubuntuuitoolkit/tests/__init__.py (+3/-3)
tests/autopilot/ubuntuuitoolkit/tests/components/test_header.py (+2/-2)
tests/autopilot/ubuntuuitoolkit/tests/components/test_popover.py (+1/-4)
tests/autopilot/ubuntuuitoolkit/tests/components/test_textinput.py (+3/-3)
tests/autopilot/ubuntuuitoolkit/tests/components/test_units.py (+1/-1)
tests/autopilot/ubuntuuitoolkit/tests/custom_proxy_objects/test_checkbox.py (+2/-5)
tests/autopilot/ubuntuuitoolkit/tests/custom_proxy_objects/test_common.py (+2/-5)
tests/autopilot/ubuntuuitoolkit/tests/custom_proxy_objects/test_date_picker.py (+2/-2)
tests/autopilot/ubuntuuitoolkit/tests/custom_proxy_objects/test_dialog.py (+1/-4)
tests/autopilot/ubuntuuitoolkit/tests/custom_proxy_objects/test_flickable.py (+2/-5)
tests/autopilot/ubuntuuitoolkit/tests/custom_proxy_objects/test_header.py (+4/-4)
tests/autopilot/ubuntuuitoolkit/tests/custom_proxy_objects/test_listitem.py (+1/-1)
tests/autopilot/ubuntuuitoolkit/tests/custom_proxy_objects/test_listitems.py (+3/-6)
tests/autopilot/ubuntuuitoolkit/tests/custom_proxy_objects/test_main_view.py (+2/-5)
tests/autopilot/ubuntuuitoolkit/tests/custom_proxy_objects/test_optionselector.py (+3/-3)
tests/autopilot/ubuntuuitoolkit/tests/custom_proxy_objects/test_popups.py (+1/-1)
tests/autopilot/ubuntuuitoolkit/tests/custom_proxy_objects/test_pull_to_refresh.py (+2/-2)
tests/autopilot/ubuntuuitoolkit/tests/custom_proxy_objects/test_qquicklistview.py (+4/-7)
tests/autopilot/ubuntuuitoolkit/tests/custom_proxy_objects/test_tabs.py (+2/-5)
tests/autopilot/ubuntuuitoolkit/tests/custom_proxy_objects/test_textarea.py (+2/-5)
tests/autopilot/ubuntuuitoolkit/tests/custom_proxy_objects/test_textfield.py (+2/-5)
tests/autopilot/ubuntuuitoolkit/tests/custom_proxy_objects/test_toolbar.py (+2/-5)
tests/autopilot/ubuntuuitoolkit/tests/gallery/__init__.py (+3/-3)
tests/autopilot/ubuntuuitoolkit/tests/gallery/test_buttons.py (+1/-1)
tests/autopilot/ubuntuuitoolkit/tests/gallery/test_optionselector.py (+2/-2)
tests/autopilot/ubuntuuitoolkit/tests/gallery/test_scrollbar.py (+2/-2)
tests/autopilot/ubuntuuitoolkit/tests/gallery/test_textinput.py (+3/-3)
tests/autopilot/ubuntuuitoolkit/tests/gallery/test_toggles.py (+3/-3)
tests/autopilot/ubuntuuitoolkit/tests/test_fixture_setup.py (+4/-9)
tests/autopilot/ubuntuuitoolkit/tests/test_launcher.py (+1/-7)
tests/autopilot/ubuntuuitoolkit/tests/test_ubuntu_scenarios.py (+2/-5)
tests/tests.pro (+1/-4)
Superseded
for merging
into
lp://staging/ubuntu-ui-toolkit
- Ubuntu SDK team: Pending requested
-
Diff: 7506 lines (+3595/-1319)124 files modifiedcomponents.api (+23/-1)
debian/control (+0/-12)
debian/rules (+1/-0)
debian/ubuntu-ui-toolkit-autopilot.install (+0/-1)
examples/ubuntu-ui-toolkit-gallery/WebLink.qml (+5/-0)
modules/Ubuntu/Components/AppHeader.qml (+104/-15)
modules/Ubuntu/Components/MainView.qml (+2/-1)
modules/Ubuntu/Components/MainView12.qml (+18/-8)
modules/Ubuntu/Components/Page10.qml (+3/-31)
modules/Ubuntu/Components/Page11.qml (+5/-3)
modules/Ubuntu/Components/Page13.qml (+84/-0)
modules/Ubuntu/Components/PageHeadConfiguration.qdoc (+202/-0)
modules/Ubuntu/Components/PageHeadConfiguration11.qml (+3/-155)
modules/Ubuntu/Components/PageHeadConfiguration13.qml (+30/-0)
modules/Ubuntu/Components/StyledItem.qml (+1/-1)
modules/Ubuntu/Components/Styles/PageHeadStyle.qml (+3/-3)
modules/Ubuntu/Components/Tab.qml (+20/-2)
modules/Ubuntu/Components/Tabs.qml (+4/-1)
modules/Ubuntu/Components/Themes/Ambiance/HeadDividerStyle.qml (+3/-0)
modules/Ubuntu/Components/Themes/Ambiance/OverflowPanel.qml (+119/-1)
modules/Ubuntu/Components/Themes/Ambiance/PageHeadButton.qml (+1/-1)
modules/Ubuntu/Components/Themes/Ambiance/PageHeadStyle.qml (+51/-187)
modules/Ubuntu/Components/pageUtils.js (+47/-0)
modules/Ubuntu/Components/plugin/plugin.cpp (+10/-3)
modules/Ubuntu/Components/plugin/plugin.pro (+6/-4)
modules/Ubuntu/Components/plugin/shaders/shape.vert (+2/-2)
modules/Ubuntu/Components/plugin/shaders/shapeoverlay.vert (+2/-2)
modules/Ubuntu/Components/plugin/ucdefaulttheme.cpp (+8/-8)
modules/Ubuntu/Components/plugin/ucdefaulttheme.h (+6/-6)
modules/Ubuntu/Components/plugin/ucdeprecatedtheme.cpp (+122/-0)
modules/Ubuntu/Components/plugin/ucdeprecatedtheme.h (+53/-0)
modules/Ubuntu/Components/plugin/uclistitem.cpp (+7/-4)
modules/Ubuntu/Components/plugin/ucstyleditembase.cpp (+213/-2)
modules/Ubuntu/Components/plugin/ucstyleditembase.h (+7/-1)
modules/Ubuntu/Components/plugin/ucstyleditembase_p.h (+19/-1)
modules/Ubuntu/Components/plugin/uctheme.cpp (+229/-132)
modules/Ubuntu/Components/plugin/uctheme.h (+39/-19)
modules/Ubuntu/Components/qmldir (+5/-1)
modules/Ubuntu/Test/UbuntuTestCase.qml (+20/-2)
modules/Ubuntu/Test/plugin/uctestcase.h (+0/-1)
push_to_phone.sh (+0/-1)
tests/autopilot/ubuntuuitoolkit/_custom_proxy_objects/_common.py (+2/-2)
tests/autopilot/ubuntuuitoolkit/_custom_proxy_objects/_header.py (+5/-2)
tests/autopilot/ubuntuuitoolkit/_custom_proxy_objects/_mainview.py (+2/-2)
tests/autopilot/ubuntuuitoolkit/_custom_proxy_objects/_textfield.py (+1/-1)
tests/autopilot/ubuntuuitoolkit/_custom_proxy_objects/popups.py (+0/-3)
tests/autopilot/ubuntuuitoolkit/base.py (+2/-2)
tests/autopilot/ubuntuuitoolkit/fixture_setup.py (+10/-10)
tests/autopilot/ubuntuuitoolkit/tests/__init__.py (+3/-3)
tests/autopilot/ubuntuuitoolkit/tests/components/test_header.py (+2/-2)
tests/autopilot/ubuntuuitoolkit/tests/components/test_popover.py (+1/-4)
tests/autopilot/ubuntuuitoolkit/tests/components/test_textinput.py (+3/-3)
tests/autopilot/ubuntuuitoolkit/tests/components/test_units.py (+61/-0)
tests/autopilot/ubuntuuitoolkit/tests/custom_proxy_objects/test_checkbox.py (+2/-5)
tests/autopilot/ubuntuuitoolkit/tests/custom_proxy_objects/test_common.py (+2/-5)
tests/autopilot/ubuntuuitoolkit/tests/custom_proxy_objects/test_date_picker.py (+2/-2)
tests/autopilot/ubuntuuitoolkit/tests/custom_proxy_objects/test_dialog.py (+1/-4)
tests/autopilot/ubuntuuitoolkit/tests/custom_proxy_objects/test_flickable.py (+2/-5)
tests/autopilot/ubuntuuitoolkit/tests/custom_proxy_objects/test_header.py (+4/-4)
tests/autopilot/ubuntuuitoolkit/tests/custom_proxy_objects/test_listitem.py (+1/-1)
tests/autopilot/ubuntuuitoolkit/tests/custom_proxy_objects/test_listitems.py (+3/-6)
tests/autopilot/ubuntuuitoolkit/tests/custom_proxy_objects/test_main_view.py (+2/-5)
tests/autopilot/ubuntuuitoolkit/tests/custom_proxy_objects/test_optionselector.py (+3/-3)
tests/autopilot/ubuntuuitoolkit/tests/custom_proxy_objects/test_popups.py (+1/-1)
tests/autopilot/ubuntuuitoolkit/tests/custom_proxy_objects/test_pull_to_refresh.py (+2/-2)
tests/autopilot/ubuntuuitoolkit/tests/custom_proxy_objects/test_qquicklistview.py (+4/-7)
tests/autopilot/ubuntuuitoolkit/tests/custom_proxy_objects/test_tabs.py (+2/-5)
tests/autopilot/ubuntuuitoolkit/tests/custom_proxy_objects/test_textarea.py (+2/-5)
tests/autopilot/ubuntuuitoolkit/tests/custom_proxy_objects/test_textfield.py (+2/-5)
tests/autopilot/ubuntuuitoolkit/tests/custom_proxy_objects/test_toolbar.py (+2/-5)
tests/autopilot/ubuntuuitoolkit/tests/gallery/__init__.py (+3/-3)
tests/autopilot/ubuntuuitoolkit/tests/gallery/test_buttons.py (+1/-1)
tests/autopilot/ubuntuuitoolkit/tests/gallery/test_optionselector.py (+2/-2)
tests/autopilot/ubuntuuitoolkit/tests/gallery/test_scrollbar.py (+2/-2)
tests/autopilot/ubuntuuitoolkit/tests/gallery/test_textinput.py (+3/-3)
tests/autopilot/ubuntuuitoolkit/tests/gallery/test_toggles.py (+3/-3)
tests/autopilot/ubuntuuitoolkit/tests/test_fixture_setup.py (+4/-9)
tests/autopilot/ubuntuuitoolkit/tests/test_launcher.py (+1/-7)
tests/autopilot/ubuntuuitoolkit/tests/test_ubuntu_scenarios.py (+2/-5)
tests/autopilot/ubuntuuitoolkit/units.py (+38/-0)
tests/license/checklicense.sh (+16/-21)
tests/resources/header/actions.qml (+0/-47)
tests/resources/header/backButton.qml (+0/-59)
tests/resources/header/lockedToolbar.deprecated.qml (+0/-52)
tests/resources/header/sections.qml (+0/-41)
tests/resources/navigation/simpleTabs.qml (+0/-60)
tests/resources/subtheming/Simple.qml (+53/-0)
tests/uitk_test_plan.sh (+3/-1)
tests/unit/tst_components/tst_styleditem13.qml (+35/-0)
tests/unit/tst_performance/StyledItemOldTheming.qml (+72/-0)
tests/unit/tst_performance/Styling.qml (+76/-0)
tests/unit/tst_performance/tst_performance.cpp (+33/-4)
tests/unit/tst_performance/tst_performance.pro (+3/-1)
tests/unit_x11/tst_components/tst_app_theming.qml (+54/-0)
tests/unit_x11/tst_components/tst_components.pro (+2/-2)
tests/unit_x11/tst_components/tst_header_back_action.qml (+64/-21)
tests/unit_x11/tst_components/tst_header_contents_width.qml (+5/-10)
tests/unit_x11/tst_components/tst_header_sections.qml (+65/-56)
tests/unit_x11/tst_components/tst_header_visible.qml (+288/-0)
tests/unit_x11/tst_components/tst_page11.qml (+1/-1)
tests/unit_x11/tst_components/tst_page13.qml (+126/-0)
tests/unit_x11/tst_components/tst_pagestack.new_header.qml (+32/-40)
tests/unit_x11/tst_deprecated_theme_engine/Parent.qml (+14/-4)
tests/unit_x11/tst_deprecated_theme_engine/SimpleItem.qml (+20/-0)
tests/unit_x11/tst_deprecated_theme_engine/themes/CustomTheme/TestStyle.qml (+0/-1)
tests/unit_x11/tst_deprecated_theme_engine/themes/TestModule/TestTheme/TestStyle.qml (+0/-1)
tests/unit_x11/tst_deprecated_theme_engine/tst_deprecated_theme_engine.cpp (+113/-113)
tests/unit_x11/tst_deprecated_theme_engine/tst_deprecated_theme_engine.pro (+9/-2)
tests/unit_x11/tst_subtheming/DifferentThemes.qml (+46/-0)
tests/unit_x11/tst_subtheming/DynamicAssignment.qml (+38/-0)
tests/unit_x11/tst_subtheming/ParentChanges.qml (+37/-0)
tests/unit_x11/tst_subtheming/SimpleItem.qml (+30/-0)
tests/unit_x11/tst_subtheming/TestMain.qml (+39/-0)
tests/unit_x11/tst_subtheming/TestModule/TestTheme/TestStyle.qml (+20/-0)
tests/unit_x11/tst_subtheming/TestStyleChange.qml (+69/-0)
tests/unit_x11/tst_subtheming/themes/CustomTheme/TestStyle.qml (+22/-0)
tests/unit_x11/tst_subtheming/themes/CustomTheme/parent_theme (+1/-0)
tests/unit_x11/tst_subtheming/themes/TestModule/TestTheme/TestStyle.qml (+22/-0)
tests/unit_x11/tst_subtheming/themes/TestModule/TestTheme/parent_theme (+1/-0)
tests/unit_x11/tst_subtheming/themes/TestModule/TestTheme/qmldir (+2/-0)
tests/unit_x11/tst_subtheming/tst_subtheming.cpp (+496/-0)
tests/unit_x11/tst_subtheming/tst_subtheming.pro (+20/-0)
tests/unit_x11/tst_theme_engine/TestApp.qml (+0/-29)
tests/unit_x11/unit_x11.pro (+3/-2)
Changed in unity8 (Ubuntu): | |
status: | New → In Progress |
assignee: | nobody → Leo Arias (elopio) |
Changed in ubuntu-ui-toolkit (Ubuntu): | |
status: | New → In Progress |
assignee: | nobody → Leo Arias (elopio) |
To post a comment you must log in.
This bug was fixed in the package unity8 - 8.02+15. 04.20150318- 0ubuntu1
--------------- 04.20150318- 0ubuntu1) vivid; urgency=medium
unity8 (8.02+15.
[ Albert Astals Cid ]
* Add some context to tr calls (LP: #1431497)
* Require binaries and .pc files we call from code
* Test: More stubborn flick to the end
[ Andrea Cimitan ]
* Refactor PreviewOverlay to fix weird zoom out/in animations when
previewing images from the Previews
[ CI Train Bot ]
* Resync trunk.
[ Charles Kerr ]
* Re-enable a rotation lock test now that the bug that broke that test
has been fixed. (LP: #1410915)
[ Daniel d'Andrada ]
* Darkened area behind indicators menu should eat input until it fully
disappears (LP: #1417967)
* DesktopStage - fix focus switch when user taps on window (LP:
#1431325)
* Fix warnings when launching tutorial
* Make MouseTouchAdaptor controllable from within QML
* Make tst_Shell absorb tst_TabletShell
[ Leo Arias ]
* Changed the autopilot dependencies so they do not require qt4. (LP:
#1429158)
* Drop the support for python2 in autopilot tests. (LP: #1429163)
* Stop using the deprecated toolkit emulators namespace in autopilot
tests. (LP: #1341681)
[ Michael Terry ]
* Don't close wizard & edge tutorial when the unity8-dash closes (LP:
#1425484)
* Don't let the wizard sit indefinitely, waiting for a wizard page to
finish preparing itself. (LP: #1425737)
* Fix two broken qmluitest files by waiting for everything to settle
before starting the tests.
* Only call unlockAllModems once the wizard is done. (LP: #1425161)
(LP: #1425161)
* When we are locking the user out from too many login failures,
notice when time passes even if the device is suspended. (LP:
#1396817) (LP: #1396817)
[ Michael Zanetti ]
* Add a mouse area to the indicators panel so we can open them by
clicking. (LP: #1417650)
* fix launcher not reacting to first click when revealed by mouse
hover, add tests
* performance improvements (LP: #1430233, #1425087)
[ Michał Sawicz ]
* Remove the activity indicator from tests
* Use targets instead of custom ld arguments for linking
[ Mirco Müller ]
* Updated the visuals of the SwipeToAct-widget for incoming-call snap-
decision notifications according to new design-spec.
* Updated the visuals of the SwipeToAct-widget for incoming-call snap-
decision notifications according to new design-spec.
-- CI Train Bot <email address hidden> Wed, 18 Mar 2015 10:19:06 +0000