lp:~mandel/desktopcouch/mock_db_for_records
Created by
Manuel de la Peña
and last modified
- Get this branch:
- bzr branch lp:~mandel/desktopcouch/mock_db_for_records
Only
Manuel de la Peña
can upload to this branch. If you are
Manuel de la Peña
please log in for upload directions.
Branch merges
Propose for merging
No branches
dependent on this one.
- Eric Casteleijn (community): Approve
- Vincenzo Di Somma (community): Approve
-
Diff: 726 lines (+561/-28)4 files modifieddesktopcouch/application/server.py (+2/-2)
desktopcouch/records/database.py (+39/-25)
desktopcouch/records/tests/test_mocked_server.py (+519/-0)
desktopcouch/records/tests/test_server.py (+1/-1)
Related bugs
Bug #674587: python-couchdb should be mock in the tests | Medium | Fix Released | |
Bug #697636: Trash record id is not correctly generated | Medium | Fix Released | |
Bug #697661: The trash db object is recreated everytime there is a record to dele | Medium | Fix Released |
Related blueprints
Branch information
Recent revisions
- 250. By Manuel de la Peña
-
Added unit tests that do not required a couchdb instance to test the API since the db access is mocked.
- 245. By Manuel de la Peña
-
Do not call record._data more than needed, it is a waste and a pain to mock.
- 244. By Manuel de la Peña
-
Do not call record.record_id more than needed, it is a waste and a pain to mock.
- 242. By Natalia Bidart
-
ubuntu_
sso.find_ credentials must be called when pairing ubuntu one records, so we can use U1 credentials if already on the system (LP: #694495).
Branch metadata
- Branch format:
- Branch format 7
- Repository format:
- Bazaar repository format 2a (needs bzr 1.16 or later)
- Stacked on:
- lp:desktopcouch