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
=== modified file 'tests/autopilot/notes_app/tests/__init__.py'
--- tests/autopilot/notes_app/tests/__init__.py 2013-09-30 22:20:59 +0000
+++ tests/autopilot/notes_app/tests/__init__.py 2013-10-03 17:48:28 +0000
@@ -185,8 +185,7 @@
185185
186 def find_db(self):186 def find_db(self):
187 dbs_path = os.path.expanduser(187 dbs_path = os.path.expanduser(
188 "~/.local/share/Qt Project/QtQmlViewer/QML/OfflineStorage/"188 "~/.local/share/notes-app/Databases")
189 "Databases/")
190 if not os.path.exists(dbs_path):189 if not os.path.exists(dbs_path):
191 return None190 return None
192 files = [f for f in os.listdir(dbs_path)191 files = [f for f in os.listdir(dbs_path)

Subscribers

People subscribed via source and target branches