Merge lp:~xnox/gallery-app/fix-sample-dir into lp:gallery-app
Proposed by
Dimitri John Ledkov
Status: | Rejected |
---|---|
Rejected by: | Dimitri John Ledkov |
Proposed branch: | lp:~xnox/gallery-app/fix-sample-dir |
Merge into: | lp:gallery-app |
Diff against target: |
27 lines (+2/-8) 1 file modified
tests/autopilot/gallery_app/tests/__init__.py (+2/-8) |
To merge this branch: | bzr merge lp:~xnox/gallery-app/fix-sample-dir |
Related bugs: |
Reviewer | Review Type | Date Requested | Status |
---|---|---|---|
Dimitri John Ledkov | Disapprove | ||
PS Jenkins bot | continuous-integration | Needs Fixing | |
Ken VanDine | Pending | ||
Sergio Schvezov | Pending | ||
Review via email: mp+210517@code.launchpad.net |
Commit message
Fix sample_dir to be detected relative current test (regardless of type) and not depend on /home/xnox/
Description of the change
Fix sample_dir to be detected relative current test (regardless of type) and not depend on /home/xnox/
To post a comment you must log in.
Unmerged revisions
- 923. By Launchpad Translations on behalf of phablet-team
-
Launchpad automatic translations update.
- 922. By Sergio Schvezov
-
Fixing test init for ci
This change removes the hard-coded paths for sample-data (python2.7 absolute locations or relative to $PWD) and instead uses precise locations relative the currently executed __init__.py itself, thus guarantees that correct matching data files are selected. This makes it possible to execute tests when they are shipped in e.g. python3 location globally, or when $PWD does not container "gallery_app/" module.