~thisfred/desktopcouch/lp-673641

« back to all changes in this revision

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

  • Committer: Tarmac
  • Author(s): Manuel de la Pena
  • Date: 2011-01-05 21:02:49 UTC
  • mfrom: (242.3.9 mock_db_for_records)
  • Revision ID: tarmac-20110105210249-j5ly5bjah8mxkwmb
Moved trash db to be an instance variable for bug #697661
Fixed how deleted records ids are generated for bug #697636
Added unit tests in which the db access is mocked for bug #674587

Show diffs side-by-side

added added

removed removed

Lines of Context:
106
106
                break
107
107
 
108
108
    def test_get_records_by_record_type_save_view(self):
109
 
        """Test getting mutliple records by type"""
 
109
        """Test getting multiple records by type"""
110
110
        records = self.database.get_records(
111
111
            record_type="test.com", create_view=True)
112
112
        self.maybe_die()  # should be able to survive couchdb death