Merge lp:~thomir-deactivatedaccount/gallery-app/fix-ap-call-interface into lp:gallery-app

Proposed by Thomi Richards
Status: Rejected
Rejected by: Arthur Mello
Proposed branch: lp:~thomir-deactivatedaccount/gallery-app/fix-ap-call-interface
Merge into: lp:gallery-app
Diff against target: 12 lines (+1/-1)
1 file modified
tests/autopilot/gallery_app/tests/__init__.py (+1/-1)
To merge this branch: bzr merge lp:~thomir-deactivatedaccount/gallery-app/fix-ap-call-interface
Reviewer Review Type Date Requested Status
PS Jenkins bot continuous-integration Approve
Ubuntu Phablet Team Pending
Review via email: mp+211819@code.launchpad.net

Commit message

Make gallery_app autopilot test suite work with newer versions of autopilot.

Description of the change

This branch fixes the call between the gallery app autopilot tests and autopilot. Previously, the call to 'launch_click_package' worked by accident. The arguments parameter is supposed to be a list, but worked with a single string as well. The new autopilot release makes this call stricter, requiring a list, not a string.

To post a comment you must log in.
Revision history for this message
Thomi Richards (thomir-deactivatedaccount) wrote :

Please don't land this - we'll land it as part of an autopilot landing, so the changes hit distro in an atomic fashion.

Revision history for this message
PS Jenkins bot (ps-jenkins) wrote :
review: Approve (continuous-integration)
Revision history for this message
Arthur Mello (artmello) wrote :

Rejecting since the comments mention that this should not be landed.

Unmerged revisions

928. By Thomi Richards

Pass a list of args to AutopilotTestCase.launch_click_package, not a string.

Preview Diff

[H/L] Next/Prev Comment, [J/K] Next/Prev File, [N/P] Next/Prev Hunk
1=== modified file 'tests/autopilot/gallery_app/tests/__init__.py'
2--- tests/autopilot/gallery_app/tests/__init__.py 2014-03-07 10:57:54 +0000
3+++ tests/autopilot/gallery_app/tests/__init__.py 2014-03-19 20:28:25 +0000
4@@ -224,7 +224,7 @@
5 logger.debug("Launching gallery-app via click package.")
6 self.app = self.launch_click_package(
7 package_id="com.ubuntu.gallery",
8- app_uris=' '.join(self.ARGS),
9+ app_uris=self.ARGS,
10 emulator_base=toolkit_emulators.UbuntuUIToolkitEmulatorBase)
11
12 def ui_update(self):

Subscribers

People subscribed via source and target branches

to all changes: