Merge lp:~nskaggs/ubuntu-ui-toolkit/fix-aphelper-emulator-warning into lp:ubuntu-ui-toolkit

Proposed by Nicholas Skaggs
Status: Superseded
Proposed branch: lp:~nskaggs/ubuntu-ui-toolkit/fix-aphelper-emulator-warning
Merge into: lp:ubuntu-ui-toolkit
Diff against target: 11 lines (+0/-1)
1 file modified
tests/autopilot/ubuntuuitoolkit/__init__.py (+0/-1)
To merge this branch: bzr merge lp:~nskaggs/ubuntu-ui-toolkit/fix-aphelper-emulator-warning
Reviewer Review Type Date Requested Status
Tim Peeters Needs Resubmitting
Leo Arias (community) code review Needs Fixing
PS Jenkins bot continuous-integration Approve
Review via email: mp+226713@code.launchpad.net

This proposal has been superseded by a proposal from 2014-07-16.

Commit message

remove emulators from toolkit ap helper import (deprecated)

Description of the change

Fix the warning for the emulators module by removing it from the base import.

"The ubuntuuitoolkit.emulators module is deprecated. Import the autopilot helpers from the top-level ubuntuuitoolkit module."

The warning will now only appear if you use the module directly.

To post a comment you must log in.
1055. By Nicholas Skaggs

fix property changes

Revision history for this message
PS Jenkins bot (ps-jenkins) wrote :
review: Approve (continuous-integration)
Revision history for this message
Leo Arias (elopio) wrote :

The warning is still being printed. Please notice that you need to remove the 'emulators' also from the __all__ list. And emulators is still being used on tests/__init__.py, which is imported by ubuntuuitoolkit. Probably we also need to remove tests from the ubuntuuitoolkit/__init__.py.

Sorry about the mess.

review: Needs Fixing (code review)
Revision history for this message
Tim Peeters (tpeeters) wrote :

Please submit new MRs for merging into lp:~ubuntu-sdk-team/ubuntu-ui-toolkit/staging. It needs to go there first before we land it in trunk.

review: Needs Resubmitting
1056. By Nicholas Skaggs

convert references of emulator to custom proxy object

1057. By Nicholas Skaggs

rebase trunk

1058. By Nicholas Skaggs

rebase staging

1059. By Nicholas Skaggs

flake8 happiness

1060. By Nicholas Skaggs

fix toolkitemulator exception

1061. By Nicholas Skaggs

remove references to ToolkitCustomProxyObjectException

1062. By Nicholas Skaggs

add test to assure warning is not shown improperly

1063. By Nicholas Skaggs

rebase to staging

1064. By Nicholas Skaggs

migrate testcase to test_import.py

1065. By Nicholas Skaggs

add class to avoid pyflakes error

1066. By Nicholas Skaggs

fix blankclass

1067. By Nicholas Skaggs

remove test_import_toolkit_must_not_log_warning

Unmerged revisions

Preview Diff

[H/L] Next/Prev Comment, [J/K] Next/Prev File, [N/P] Next/Prev Hunk
1=== modified file 'tests/autopilot/ubuntuuitoolkit/__init__.py'
2--- tests/autopilot/ubuntuuitoolkit/__init__.py 2014-06-30 10:49:51 +0000
3+++ tests/autopilot/ubuntuuitoolkit/__init__.py 2014-07-14 17:35:21 +0000
4@@ -48,7 +48,6 @@
5
6 from ubuntuuitoolkit import (
7 base,
8- emulators,
9 environment,
10 fixture_setup,
11 tests,

Subscribers

People subscribed via source and target branches

to status/vote changes: