lp://qastaging/~james-w/desktopcouch/context-for-tests

Created by James Westby and last modified
Get this branch:
bzr branch lp://qastaging/~james-w/desktopcouch/context-for-tests
Only James Westby can upload to this branch. If you are James Westby please log in for upload directions.

Branch merges

Related bugs

Related blueprints

Branch information

Owner:
James Westby
Project:
desktopcouch
Status:
Merged

Recent revisions

122. By James Westby

Add with_auth and with_keyring arguments to Context.

If with_auth is False then a couch started in the created context won't
require or accept credentials. This makes it not really a desktopcouch,
but the facilities for starting and stopping couchdb with a restricted
configuration can be hugely useful to other projects to use in e.g. test
suites.

If with_keyring is False then the credentials won't be read from or stored
to gnome-keyring, so that if it is a non-default context (e.g. in a testsuite)
it doesn't intefere with the user's desktopcouch, as gnome-keyring is the
only global object that Context interacts with.

121. By Eric Casteleijn

backported safer update_fields method from server code in a backwards compatible way, fixed tests so they run in lucid (testtools changed so that setUp has to call super's setUp, and same for tearDown), did pedantic cleanup in files I touched

120. By Stuart Langridge

Allow execute_view to take a dict of additional parameters, such as { "descending": True }, which can be passed on to the underlying view, thus allowing extra params to be passed onto the CouchDB request.

119. By Stuart Langridge

Allow generation of full HTML API documentation, with "epydoc --config=data/epydoc.conf".

118. By Chad Miller

desktopcouch.record.RecordDict needs .has_key() to be more like the dict that we emulate. This sucks because dict.has_key is going away in Py 3, but let's be extra nice for another year or so.

117. By Chad Miller

Bump version number for release.

116. By Chad Miller

Fix spurious underscore that causes NameError when there is no key in
the keyring.

115. By Chad Miller

Bump version for release.

114. By Chad Miller

Fix new, incorrect comment on Record.record_revision.

113. By Chad Miller

Add a new attribute on Record class, so that users can get a record's
revision id without using ._dict or "_rev".

  n = r.record_revision # retreive revision. Will be None if just fabricated.
  r.record.revision = "foo" # raises AttributeError, as it is read-only.

Branch metadata

Branch format:
Branch format 7
Repository format:
Bazaar repository format 2a (needs bzr 1.16 or later)
Stacked on:
lp://qastaging/desktopcouch
This branch contains Public information 
Everyone can see this information.

Subscribers