Merge lp:~om26er/camera-app/test-fix into lp:camera-app
| Status: | Merged | ||||
|---|---|---|---|---|---|
| Approved by: | Florian Boucault on 2015-05-05 | ||||
| Approved revision: | 551 | ||||
| Merged at revision: | 556 | ||||
| Proposed branch: | lp:~om26er/camera-app/test-fix | ||||
| Merge into: | lp:camera-app | ||||
| Diff against target: |
28 lines (+10/-9) 1 file modified
tests/autopilot/camera_app/tests/__init__.py (+10/-9) |
||||
| To merge this branch: | bzr merge lp:~om26er/camera-app/test-fix | ||||
| Related bugs: |
|
| Reviewer | Review Type | Date Requested | Status |
|---|---|---|---|
| PS Jenkins bot | continuous-integration | Needs Fixing on 2015-04-30 | |
| Leo Arias (community) | Approve on 2015-04-30 | ||
| Ubuntu Phablet Team | 2015-04-15 | Pending | |
|
Review via email:
|
|||
Commit Message
Autopilot: Ensure the media directories exist before trying to delete data from them.
Description of the Change
Autopilot: Ensure the media directories exist before trying to delete data from them.
| Leo Arias (elopio) wrote : | # |
Thanks Omer.
You can extract a method for the common bits of both cases.
- 550. By Omer Akram on 2015-04-30
-
reuse code
| Omer Akram (om26er) wrote : | # |
> Thanks Omer.
> You can extract a method for the common bits of both cases.
Done. I am not able to decide though on what should be the name of the method which checks if a directory exists or not.
I named is directory_exists() would is_directory_
- 551. By Omer Akram on 2015-04-30
-
no need to write a method to check if a directory exists, rather make direct call to os.path.exists
| PS Jenkins bot (ps-jenkins) wrote : | # |
FAILED: Continuous integration, rev:551
http://
Executed test runs:
SUCCESS: http://
SUCCESS: http://
deb: http://
SUCCESS: http://
UNSTABLE: http://
FAILURE: http://
UNSTABLE: http://
SUCCESS: http://
SUCCESS: http://
FAILURE: http://
SUCCESS: http://
deb: http://
Click here to trigger a rebuild:
http://

FAILED: Continuous integration, rev:549 jenkins. qa.ubuntu. com/job/ camera- app-ci/ 415/ jenkins. qa.ubuntu. com/job/ camera- app-vivid- amd64-ci/ 111 jenkins. qa.ubuntu. com/job/ camera- app-vivid- armhf-ci/ 111 jenkins. qa.ubuntu. com/job/ camera- app-vivid- armhf-ci/ 111/artifact/ work/output/ *zip*/output. zip jenkins. qa.ubuntu. com/job/ camera- app-vivid- i386-ci/ 111 jenkins. qa.ubuntu. com/job/ generic- click-autopilot -vivid- touch/206 jenkins. qa.ubuntu. com/job/ generic- mediumtests- vivid/809/ console jenkins. qa.ubuntu. com/job/ generic- click-autopilot -runner- mako/856 jenkins. qa.ubuntu. com/job/ generic- click-builder- vivid-armhf/ 524 s-jenkins. ubuntu- ci:8080/ job/touch- flash-device/ 19674 jenkins. qa.ubuntu. com/job/ autopilot- testrunner- otto-vivid/ 649/console jenkins. qa.ubuntu. com/job/ generic- mediumtests- builder- vivid-amd64/ 968 jenkins. qa.ubuntu. com/job/ generic- mediumtests- builder- vivid-amd64/ 968/artifact/ work/output/ *zip*/output. zip
http://
Executed test runs:
SUCCESS: http://
SUCCESS: http://
deb: http://
SUCCESS: http://
UNSTABLE: http://
FAILURE: http://
UNSTABLE: http://
SUCCESS: http://
SUCCESS: http://
FAILURE: http://
SUCCESS: http://
deb: http://
Click here to trigger a rebuild: s-jenkins. ubuntu- ci:8080/ job/camera- app-ci/ 415/rebuild
http://