touch-packages team mailing list archive
-
touch-packages team
-
Mailing list archive
-
Message #55047
[Bug 1419022] Re: camera-app click manifest should include camera-app-autopilot dependency for running tests
This bug was fixed in the package camera-app -
3.0.0+15.04.20150212.3-0ubuntu1
---------------
camera-app (3.0.0+15.04.20150212.3-0ubuntu1) vivid; urgency=medium
[ Bill Filler ]
* dynamically check for editor (LP: #1368787)
* update depends on ui-extras new version
[ Arthur Mello ]
* Enable viewing full screen picture while in selection mode Remove
actions from the slide show header if we are in selection mode Make
it possible to toggle selection when on slide show view Scroll the
last seem picture from slideshow into view when returning to the
grid photo roll (LP: #1416043)
[ Ugo Riboni ]
* dynamically check for editor (LP: #1368787)
[ Florian Boucault ]
* Click packaging: add autopilot tests dependencies. (LP: #1419022)
[ Ubuntu daily release ]
* New rebuild forced
-- Ubuntu daily release <ps-jenkins@xxxxxxxxxxxxxxxxxxx> Thu, 12 Feb 2015 19:41:11 +0000
** Changed in: camera-app (Ubuntu)
Status: New => Fix Released
--
You received this bug notification because you are a member of Ubuntu
Touch seeded packages, which is subscribed to camera-app in Ubuntu.
https://bugs.launchpad.net/bugs/1419022
Title:
camera-app click manifest should include camera-app-autopilot
dependency for running tests
Status in Camera App:
In Progress
Status in camera-app package in Ubuntu:
Fix Released
Status in camera-app package in Ubuntu RTM:
New
Bug description:
Running the camera-app tests as click package currently fails because
not all dependencies get installed:
http://rtm-
dashboard.ci.ubuntu.com/smokeng/utopic/touch_stable/krillin/228:20150206:20150129-c75dcfb/296/camera_app/123549/
Here python3-wand and python3-mediainfodll are not installed, so this
causes the import failure:
ImportError: Failed to import test module: camera_app.tests.test_capture
Traceback (most recent call last):
File "/usr/lib/python3.4/unittest/loader.py", line 312, in _find_tests
module = self._get_module_from_name(name)
File "/usr/lib/python3.4/unittest/loader.py", line 290, in _get_module_from_name
__import__(name)
File "/home/phablet/autopilot/camera_app/tests/test_capture.py", line 13, in <module>
from wand.image import Image
ImportError: No module named 'wand'
In order to fix this, the camera-app-autopilot dependency should be
added to the click manifest according to spec
https://people.debian.org/~mpitt/autopkgtest/README.click-tests.html
manifest.json:
"x-test": {
"autopilot": {
"autopilot_module": "@AUTOPILOT_DIR@",
"depends": ["camera-app-autopilot"]
}
}
To run the tests using modified manifest file and a connected device:
adt-run --override-control=./path/to/modified/manifest.json --click=com.ubuntu.camera --- ssh -s adb
To manage notifications about this bug go to:
https://bugs.launchpad.net/camera-app/+bug/1419022/+subscriptions