~ubuntu-branches/ubuntu/lucid/desktopcouch/lucid

« back to all changes in this revision

Viewing changes to desktopcouch/records/tests/test_field_registry.py

  • Committer: Elliot Murphy
  • Date: 2010-03-01 17:18:07 UTC
  • mfrom: (1.5.3 upstream)
  • mto: This revision was merged to the branch mainline in revision 14.
  • Revision ID: elliot@elliotmurphy.com-20100301171807-fb8hzyzfbgcuig2j
* New upstream bugfix release.
  - Include a new program bin/desktopcouch-get-port .
  - Use DBus to get port, and thereby start the service daemon, on normal
    Python access to the database. (LP: #519444)
  - Update docs to be explicit about put_record(r) mutating r .
  - Add new method put_records_batch(iterable_of_records) .
  - Fix up apport collection.
  - Fix a problem with couchdb mutating its INI file to store a hashed
    password, which is useless for HTTP Basic auth in the bookmark file.
  - Fix obscure bugs in couchdb startup regarding port availability.
  - Update execute_view() ti take a dict of additional parameters for
    execution.
  - Add has_key() method to desktopcouch.record.RecordDict so that it
    behaves more like a dictionary.

Show diffs side-by-side

added added

removed removed

Lines of Context:
57
57
    """Test Case for FieldMapping objects."""
58
58
 
59
59
    def setUp(self):
 
60
        super(TestFieldMapping, self).setUp()
60
61
        self.test_record = copy.deepcopy(TEST_RECORD)
61
62
 
62
63
    def test_simple_field_mapping(self):
90
91
 
91
92
    def setUp(self):
92
93
        """setup test fixtures"""
 
94
        super(TestTransformer, self).setUp()
93
95
        self.transformer = AppTransformer()
94
96
 
95
97
    def test_from_app(self):