Merge lp:~fginther/notes-app/update-autopilot-tests-db-location into lp:notes-app

Proposed by Francis Ginther
Status: Superseded
Proposed branch: lp:~fginther/notes-app/update-autopilot-tests-db-location
Merge into: lp:notes-app
Diff against target: 13 lines (+1/-2)
1 file modified
tests/autopilot/notes_app/tests/__init__.py (+1/-2)
To merge this branch: bzr merge lp:~fginther/notes-app/update-autopilot-tests-db-location
Reviewer Review Type Date Requested Status
PS Jenkins bot continuous-integration Needs Fixing
Ubuntu Phablet Team Pending
Review via email: mp+189150@code.launchpad.net

This proposal has been superseded by a proposal from 2013-10-06.

Commit message

Update location of autopilot test offline storage in response to sdk change (see lp:1231863).

Description of the change

Update location of offline storage in response to sdk change (see lp:1231863).

To post a comment you must log in.
Revision history for this message
PS Jenkins bot (ps-jenkins) wrote :
review: Needs Fixing (continuous-integration)
Revision history for this message
PS Jenkins bot (ps-jenkins) wrote :
review: Needs Fixing (continuous-integration)
Revision history for this message
Loïc Minier (lool) wrote :

Could you get the name from Qt/SDK instead of harcoding it? Otherwise we have to ensure the test and the updated SDK land at exactly the same time, and if the location changes again, it will break again.

Unmerged revisions

197. By Francis Ginther

Update location of offline storage in response to sdk change (see lp:1231863)

Preview Diff

[H/L] Next/Prev Comment, [J/K] Next/Prev File, [N/P] Next/Prev Hunk
1=== modified file 'tests/autopilot/notes_app/tests/__init__.py'
2--- tests/autopilot/notes_app/tests/__init__.py 2013-09-30 22:20:59 +0000
3+++ tests/autopilot/notes_app/tests/__init__.py 2013-10-03 17:48:28 +0000
4@@ -185,8 +185,7 @@
5
6 def find_db(self):
7 dbs_path = os.path.expanduser(
8- "~/.local/share/Qt Project/QtQmlViewer/QML/OfflineStorage/"
9- "Databases/")
10+ "~/.local/share/notes-app/Databases")
11 if not os.path.exists(dbs_path):
12 return None
13 files = [f for f in os.listdir(dbs_path)

Subscribers

People subscribed via source and target branches