desktopcouch.contacts.tests.test_contactspicker TestContactsPicker test_can_contruct_contactspicker ... Apache CouchDB has started, time to relax. Desktop CouchDB is not running; starting it. ...waiting for couchdb to start... ...waiting for couchdb to start... Browse your desktop CouchDB at file:///tmp/tmpcg7le0/xdg_data/desktop-couch/couchdb.html [ERROR] desktopcouch.contacts.tests.test_create TestCreate test_create_many_contacts ... [ERROR] test_head_or_tails ... [OK] test_random_bools ... [OK] desktopcouch.contacts.tests.test_record TestContactRecord test_contact_record ... [OK] desktopcouch.pair.tests.test_couchdb_io TestCouchdbIo test_get_database_names_replicatable ... [ERROR] test_get_database_names_replicatable_bad_server ... [ERROR] test_get_my_host_unique_id ... [ERROR] test_put_dynamic_paired_host ... [ERROR] test_put_static_paired_service ... [ERROR] desktopcouch.pair.tests.test_network_io TestNetworkIO test_successful_lifespan ... [OK] desktopcouch.records.tests.test_couchgrid TestCouchGrid test_all_from_database ... [ERROR] test_constructor_guarded ... [ERROR] test_new_rows_with_headings ... [ERROR] test_no_headings_or_stored_records ... [ERROR] test_optional_args_no_stored_records ... [ERROR] test_optional_record_type_arg ... [ERROR] test_programatically_add_row ... [ERROR] test_single_col_from_database ... [ERROR] desktopcouch.records.tests.test_field_registry TestFieldMapping test_mergeable_list_field_mapping ... [OK] test_mergeable_list_field_mapping_empty_field ... [OK] test_simple_field_mapping ... [OK] TestTransformer test_from_app ... [OK] test_to_app ... [OK] desktopcouch.records.tests.test_record TestRecordFactory test_build ... [OK] TestRecords test_application_annotations ... [OK] test_dictionary_access_to_mergeable_list ... [OK] test_get ... [OK] test_get_item ... [OK] test_keys ... [OK] test_list ... [OK] test_loads_dict_multi_subdict ... [OK] test_loads_dict_subdict ... [OK] test_mergeable_list_append ... [OK] test_mergeable_list_append_record_dict ... [OK] test_mergeable_list_del ... [OK] test_mergeable_list_index ... [OK] test_mergeable_list_set_value_in_list_item ... [OK] test_record_type ... [OK] test_tuple ... [OK] test_uuid_like_keys ... [OK] test_validate ... [OK] desktopcouch.records.tests.test_server TestCouchDatabase test_delete_record ... [ERROR] test_func_get_records ... [ERROR] test_get_record ... [ERROR] test_get_records_by_record_type_save_view ... [ERROR] test_get_view_by_type_createxcl_fail ... [ERROR] test_get_view_by_type_new_but_already ... [ERROR] test_list_views ... [ERROR] test_put_record ... [ERROR] test_record_exists ... [ERROR] test_update_fields ... [ERROR] test_view_add_and_delete ... [ERROR] desktopcouch.tests.test_local_files TestLocalFiles test_all_files_returned ... [OK] test_couch_chain_ini_files ... [OK] desktopcouch.tests.test_start_local_couchdb TestUpdateDesignDocuments test_create_databases_and_design_docs ... [OK] =============================================================================== [ERROR]: desktopcouch.contacts.tests.test_contactspicker.TestContactsPicker.test_can_contruct_contactspicker Traceback (most recent call last): File "/usr/lib/python2.6/dist-packages/testtools/testcase.py", line 161, in run self.setUp() File "/tmp/desktopcouch/desktopcouch/contacts/tests/test_contactspicker.py", line 37, in setUp self.database = CouchDatabase(self.dbname, create=True) File "/tmp/desktopcouch/desktopcouch/records/server.py", line 70, in __init__ if database not in self._server: File "/usr/lib/pymodules/python2.6/couchdb/client.py", line 124, in __contains__ self.resource.head(validate_dbname(name)) File "/usr/lib/pymodules/python2.6/couchdb/client.py", line 981, in head return self._request('HEAD', path, headers=headers, **params) File "/usr/lib/pymodules/python2.6/couchdb/client.py", line 1035, in _request raise ServerError((status_code, error)) couchdb.client.ServerError: (401, '') =============================================================================== [ERROR]: desktopcouch.contacts.tests.test_create.TestCreate.test_create_many_contacts Traceback (most recent call last): File "/usr/lib/python2.6/dist-packages/testtools/testcase.py", line 175, in run testMethod() File "/tmp/desktopcouch/desktopcouch/contacts/tests/test_create.py", line 62, in test_create_many_contacts create.create_many_contacts() File "/tmp/desktopcouch/desktopcouch/contacts/testing/create.py", line 170, in create_many_contacts db = server[db_name] if db_name in server else server.create(db_name) File "/usr/lib/pymodules/python2.6/couchdb/client.py", line 124, in __contains__ self.resource.head(validate_dbname(name)) File "/usr/lib/pymodules/python2.6/couchdb/client.py", line 981, in head return self._request('HEAD', path, headers=headers, **params) File "/usr/lib/pymodules/python2.6/couchdb/client.py", line 1035, in _request raise ServerError((status_code, error)) couchdb.client.ServerError: (401, '') =============================================================================== [ERROR]: desktopcouch.pair.tests.test_couchdb_io.TestCouchdbIo.test_get_database_names_replicatable Traceback (most recent call last): File "/usr/lib/python2.6/unittest.py", line 270, in run self.setUp() File "/tmp/desktopcouch/desktopcouch/pair/tests/test_couchdb_io.py", line 36, in setUp self.mgt_database = CouchDatabase('management', create=True, uri=URI) File "/tmp/desktopcouch/desktopcouch/records/server.py", line 70, in __init__ if database not in self._server: File "/usr/lib/pymodules/python2.6/couchdb/client.py", line 124, in __contains__ self.resource.head(validate_dbname(name)) File "/usr/lib/pymodules/python2.6/couchdb/client.py", line 981, in head return self._request('HEAD', path, headers=headers, **params) File "/usr/lib/pymodules/python2.6/couchdb/client.py", line 1035, in _request raise ServerError((status_code, error)) couchdb.client.ServerError: (401, '') =============================================================================== [ERROR]: desktopcouch.pair.tests.test_couchdb_io.TestCouchdbIo.test_get_database_names_replicatable_bad_server Traceback (most recent call last): File "/usr/lib/python2.6/unittest.py", line 270, in run self.setUp() File "/tmp/desktopcouch/desktopcouch/pair/tests/test_couchdb_io.py", line 36, in setUp self.mgt_database = CouchDatabase('management', create=True, uri=URI) File "/tmp/desktopcouch/desktopcouch/records/server.py", line 70, in __init__ if database not in self._server: File "/usr/lib/pymodules/python2.6/couchdb/client.py", line 124, in __contains__ self.resource.head(validate_dbname(name)) File "/usr/lib/pymodules/python2.6/couchdb/client.py", line 981, in head return self._request('HEAD', path, headers=headers, **params) File "/usr/lib/pymodules/python2.6/couchdb/client.py", line 1035, in _request raise ServerError((status_code, error)) couchdb.client.ServerError: (401, '') =============================================================================== [ERROR]: desktopcouch.pair.tests.test_couchdb_io.TestCouchdbIo.test_get_my_host_unique_id Traceback (most recent call last): File "/usr/lib/python2.6/unittest.py", line 270, in run self.setUp() File "/tmp/desktopcouch/desktopcouch/pair/tests/test_couchdb_io.py", line 36, in setUp self.mgt_database = CouchDatabase('management', create=True, uri=URI) File "/tmp/desktopcouch/desktopcouch/records/server.py", line 70, in __init__ if database not in self._server: File "/usr/lib/pymodules/python2.6/couchdb/client.py", line 124, in __contains__ self.resource.head(validate_dbname(name)) File "/usr/lib/pymodules/python2.6/couchdb/client.py", line 981, in head return self._request('HEAD', path, headers=headers, **params) File "/usr/lib/pymodules/python2.6/couchdb/client.py", line 1035, in _request raise ServerError((status_code, error)) couchdb.client.ServerError: (401, '') =============================================================================== [ERROR]: desktopcouch.pair.tests.test_couchdb_io.TestCouchdbIo.test_put_dynamic_paired_host Traceback (most recent call last): File "/usr/lib/python2.6/unittest.py", line 270, in run self.setUp() File "/tmp/desktopcouch/desktopcouch/pair/tests/test_couchdb_io.py", line 36, in setUp self.mgt_database = CouchDatabase('management', create=True, uri=URI) File "/tmp/desktopcouch/desktopcouch/records/server.py", line 70, in __init__ if database not in self._server: File "/usr/lib/pymodules/python2.6/couchdb/client.py", line 124, in __contains__ self.resource.head(validate_dbname(name)) File "/usr/lib/pymodules/python2.6/couchdb/client.py", line 981, in head return self._request('HEAD', path, headers=headers, **params) File "/usr/lib/pymodules/python2.6/couchdb/client.py", line 1035, in _request raise ServerError((status_code, error)) couchdb.client.ServerError: (401, '') =============================================================================== [ERROR]: desktopcouch.pair.tests.test_couchdb_io.TestCouchdbIo.test_put_static_paired_service Traceback (most recent call last): File "/usr/lib/python2.6/unittest.py", line 270, in run self.setUp() File "/tmp/desktopcouch/desktopcouch/pair/tests/test_couchdb_io.py", line 36, in setUp self.mgt_database = CouchDatabase('management', create=True, uri=URI) File "/tmp/desktopcouch/desktopcouch/records/server.py", line 70, in __init__ if database not in self._server: File "/usr/lib/pymodules/python2.6/couchdb/client.py", line 124, in __contains__ self.resource.head(validate_dbname(name)) File "/usr/lib/pymodules/python2.6/couchdb/client.py", line 981, in head return self._request('HEAD', path, headers=headers, **params) File "/usr/lib/pymodules/python2.6/couchdb/client.py", line 1035, in _request raise ServerError((status_code, error)) couchdb.client.ServerError: (401, '') =============================================================================== [ERROR]: desktopcouch.records.tests.test_couchgrid.TestCouchGrid.test_all_from_database Traceback (most recent call last): File "/usr/lib/python2.6/dist-packages/testtools/testcase.py", line 161, in run self.setUp() File "/tmp/desktopcouch/desktopcouch/records/tests/test_couchgrid.py", line 36, in setUp self.db = CouchDatabase(self.dbname, create=True) File "/tmp/desktopcouch/desktopcouch/records/server.py", line 70, in __init__ if database not in self._server: File "/usr/lib/pymodules/python2.6/couchdb/client.py", line 124, in __contains__ self.resource.head(validate_dbname(name)) File "/usr/lib/pymodules/python2.6/couchdb/client.py", line 981, in head return self._request('HEAD', path, headers=headers, **params) File "/usr/lib/pymodules/python2.6/couchdb/client.py", line 1035, in _request raise ServerError((status_code, error)) couchdb.client.ServerError: (401, '') =============================================================================== [ERROR]: desktopcouch.records.tests.test_couchgrid.TestCouchGrid.test_constructor_guarded Traceback (most recent call last): File "/usr/lib/python2.6/dist-packages/testtools/testcase.py", line 161, in run self.setUp() File "/tmp/desktopcouch/desktopcouch/records/tests/test_couchgrid.py", line 36, in setUp self.db = CouchDatabase(self.dbname, create=True) File "/tmp/desktopcouch/desktopcouch/records/server.py", line 70, in __init__ if database not in self._server: File "/usr/lib/pymodules/python2.6/couchdb/client.py", line 124, in __contains__ self.resource.head(validate_dbname(name)) File "/usr/lib/pymodules/python2.6/couchdb/client.py", line 981, in head return self._request('HEAD', path, headers=headers, **params) File "/usr/lib/pymodules/python2.6/couchdb/client.py", line 1035, in _request raise ServerError((status_code, error)) couchdb.client.ServerError: (401, '') =============================================================================== [ERROR]: desktopcouch.records.tests.test_couchgrid.TestCouchGrid.test_new_rows_with_headings Traceback (most recent call last): File "/usr/lib/python2.6/dist-packages/testtools/testcase.py", line 161, in run self.setUp() File "/tmp/desktopcouch/desktopcouch/records/tests/test_couchgrid.py", line 36, in setUp self.db = CouchDatabase(self.dbname, create=True) File "/tmp/desktopcouch/desktopcouch/records/server.py", line 70, in __init__ if database not in self._server: File "/usr/lib/pymodules/python2.6/couchdb/client.py", line 124, in __contains__ self.resource.head(validate_dbname(name)) File "/usr/lib/pymodules/python2.6/couchdb/client.py", line 981, in head return self._request('HEAD', path, headers=headers, **params) File "/usr/lib/pymodules/python2.6/couchdb/client.py", line 1035, in _request raise ServerError((status_code, error)) couchdb.client.ServerError: (401, '') =============================================================================== [ERROR]: desktopcouch.records.tests.test_couchgrid.TestCouchGrid.test_no_headings_or_stored_records Traceback (most recent call last): File "/usr/lib/python2.6/dist-packages/testtools/testcase.py", line 161, in run self.setUp() File "/tmp/desktopcouch/desktopcouch/records/tests/test_couchgrid.py", line 36, in setUp self.db = CouchDatabase(self.dbname, create=True) File "/tmp/desktopcouch/desktopcouch/records/server.py", line 70, in __init__ if database not in self._server: File "/usr/lib/pymodules/python2.6/couchdb/client.py", line 124, in __contains__ self.resource.head(validate_dbname(name)) File "/usr/lib/pymodules/python2.6/couchdb/client.py", line 981, in head return self._request('HEAD', path, headers=headers, **params) File "/usr/lib/pymodules/python2.6/couchdb/client.py", line 1035, in _request raise ServerError((status_code, error)) couchdb.client.ServerError: (401, '') =============================================================================== [ERROR]: desktopcouch.records.tests.test_couchgrid.TestCouchGrid.test_optional_args_no_stored_records Traceback (most recent call last): File "/usr/lib/python2.6/dist-packages/testtools/testcase.py", line 161, in run self.setUp() File "/tmp/desktopcouch/desktopcouch/records/tests/test_couchgrid.py", line 36, in setUp self.db = CouchDatabase(self.dbname, create=True) File "/tmp/desktopcouch/desktopcouch/records/server.py", line 70, in __init__ if database not in self._server: File "/usr/lib/pymodules/python2.6/couchdb/client.py", line 124, in __contains__ self.resource.head(validate_dbname(name)) File "/usr/lib/pymodules/python2.6/couchdb/client.py", line 981, in head return self._request('HEAD', path, headers=headers, **params) File "/usr/lib/pymodules/python2.6/couchdb/client.py", line 1035, in _request raise ServerError((status_code, error)) couchdb.client.ServerError: (401, '') =============================================================================== [ERROR]: desktopcouch.records.tests.test_couchgrid.TestCouchGrid.test_optional_record_type_arg Traceback (most recent call last): File "/usr/lib/python2.6/dist-packages/testtools/testcase.py", line 161, in run self.setUp() File "/tmp/desktopcouch/desktopcouch/records/tests/test_couchgrid.py", line 36, in setUp self.db = CouchDatabase(self.dbname, create=True) File "/tmp/desktopcouch/desktopcouch/records/server.py", line 70, in __init__ if database not in self._server: File "/usr/lib/pymodules/python2.6/couchdb/client.py", line 124, in __contains__ self.resource.head(validate_dbname(name)) File "/usr/lib/pymodules/python2.6/couchdb/client.py", line 981, in head return self._request('HEAD', path, headers=headers, **params) File "/usr/lib/pymodules/python2.6/couchdb/client.py", line 1035, in _request raise ServerError((status_code, error)) couchdb.client.ServerError: (401, '') =============================================================================== [ERROR]: desktopcouch.records.tests.test_couchgrid.TestCouchGrid.test_programatically_add_row Traceback (most recent call last): File "/usr/lib/python2.6/dist-packages/testtools/testcase.py", line 161, in run self.setUp() File "/tmp/desktopcouch/desktopcouch/records/tests/test_couchgrid.py", line 36, in setUp self.db = CouchDatabase(self.dbname, create=True) File "/tmp/desktopcouch/desktopcouch/records/server.py", line 70, in __init__ if database not in self._server: File "/usr/lib/pymodules/python2.6/couchdb/client.py", line 124, in __contains__ self.resource.head(validate_dbname(name)) File "/usr/lib/pymodules/python2.6/couchdb/client.py", line 981, in head return self._request('HEAD', path, headers=headers, **params) File "/usr/lib/pymodules/python2.6/couchdb/client.py", line 1035, in _request raise ServerError((status_code, error)) couchdb.client.ServerError: (401, '') =============================================================================== [ERROR]: desktopcouch.records.tests.test_couchgrid.TestCouchGrid.test_single_col_from_database Traceback (most recent call last): File "/usr/lib/python2.6/dist-packages/testtools/testcase.py", line 161, in run self.setUp() File "/tmp/desktopcouch/desktopcouch/records/tests/test_couchgrid.py", line 36, in setUp self.db = CouchDatabase(self.dbname, create=True) File "/tmp/desktopcouch/desktopcouch/records/server.py", line 70, in __init__ if database not in self._server: File "/usr/lib/pymodules/python2.6/couchdb/client.py", line 124, in __contains__ self.resource.head(validate_dbname(name)) File "/usr/lib/pymodules/python2.6/couchdb/client.py", line 981, in head return self._request('HEAD', path, headers=headers, **params) File "/usr/lib/pymodules/python2.6/couchdb/client.py", line 1035, in _request raise ServerError((status_code, error)) couchdb.client.ServerError: (401, '') =============================================================================== [ERROR]: desktopcouch.records.tests.test_server.TestCouchDatabase.test_delete_record Traceback (most recent call last): File "/usr/lib/python2.6/dist-packages/testtools/testcase.py", line 161, in run self.setUp() File "/tmp/desktopcouch/desktopcouch/records/tests/test_server.py", line 45, in setUp self.database = CouchDatabase(self.dbname, create=True) File "/tmp/desktopcouch/desktopcouch/records/server.py", line 70, in __init__ if database not in self._server: File "/usr/lib/pymodules/python2.6/couchdb/client.py", line 124, in __contains__ self.resource.head(validate_dbname(name)) File "/usr/lib/pymodules/python2.6/couchdb/client.py", line 981, in head return self._request('HEAD', path, headers=headers, **params) File "/usr/lib/pymodules/python2.6/couchdb/client.py", line 1035, in _request raise ServerError((status_code, error)) couchdb.client.ServerError: (401, '') =============================================================================== [ERROR]: desktopcouch.records.tests.test_server.TestCouchDatabase.test_func_get_records Traceback (most recent call last): File "/usr/lib/python2.6/dist-packages/testtools/testcase.py", line 161, in run self.setUp() File "/tmp/desktopcouch/desktopcouch/records/tests/test_server.py", line 45, in setUp self.database = CouchDatabase(self.dbname, create=True) File "/tmp/desktopcouch/desktopcouch/records/server.py", line 70, in __init__ if database not in self._server: File "/usr/lib/pymodules/python2.6/couchdb/client.py", line 124, in __contains__ self.resource.head(validate_dbname(name)) File "/usr/lib/pymodules/python2.6/couchdb/client.py", line 981, in head return self._request('HEAD', path, headers=headers, **params) File "/usr/lib/pymodules/python2.6/couchdb/client.py", line 1035, in _request raise ServerError((status_code, error)) couchdb.client.ServerError: (401, '') =============================================================================== [ERROR]: desktopcouch.records.tests.test_server.TestCouchDatabase.test_get_record Traceback (most recent call last): File "/usr/lib/python2.6/dist-packages/testtools/testcase.py", line 161, in run self.setUp() File "/tmp/desktopcouch/desktopcouch/records/tests/test_server.py", line 45, in setUp self.database = CouchDatabase(self.dbname, create=True) File "/tmp/desktopcouch/desktopcouch/records/server.py", line 70, in __init__ if database not in self._server: File "/usr/lib/pymodules/python2.6/couchdb/client.py", line 124, in __contains__ self.resource.head(validate_dbname(name)) File "/usr/lib/pymodules/python2.6/couchdb/client.py", line 981, in head return self._request('HEAD', path, headers=headers, **params) File "/usr/lib/pymodules/python2.6/couchdb/client.py", line 1035, in _request raise ServerError((status_code, error)) couchdb.client.ServerError: (401, '') =============================================================================== [ERROR]: desktopcouch.records.tests.test_server.TestCouchDatabase.test_get_records_by_record_type_save_view Traceback (most recent call last): File "/usr/lib/python2.6/dist-packages/testtools/testcase.py", line 161, in run self.setUp() File "/tmp/desktopcouch/desktopcouch/records/tests/test_server.py", line 45, in setUp self.database = CouchDatabase(self.dbname, create=True) File "/tmp/desktopcouch/desktopcouch/records/server.py", line 70, in __init__ if database not in self._server: File "/usr/lib/pymodules/python2.6/couchdb/client.py", line 124, in __contains__ self.resource.head(validate_dbname(name)) File "/usr/lib/pymodules/python2.6/couchdb/client.py", line 981, in head return self._request('HEAD', path, headers=headers, **params) File "/usr/lib/pymodules/python2.6/couchdb/client.py", line 1035, in _request raise ServerError((status_code, error)) couchdb.client.ServerError: (401, '') =============================================================================== [ERROR]: desktopcouch.records.tests.test_server.TestCouchDatabase.test_get_view_by_type_createxcl_fail Traceback (most recent call last): File "/usr/lib/python2.6/dist-packages/testtools/testcase.py", line 161, in run self.setUp() File "/tmp/desktopcouch/desktopcouch/records/tests/test_server.py", line 45, in setUp self.database = CouchDatabase(self.dbname, create=True) File "/tmp/desktopcouch/desktopcouch/records/server.py", line 70, in __init__ if database not in self._server: File "/usr/lib/pymodules/python2.6/couchdb/client.py", line 124, in __contains__ self.resource.head(validate_dbname(name)) File "/usr/lib/pymodules/python2.6/couchdb/client.py", line 981, in head return self._request('HEAD', path, headers=headers, **params) File "/usr/lib/pymodules/python2.6/couchdb/client.py", line 1035, in _request raise ServerError((status_code, error)) couchdb.client.ServerError: (401, '') =============================================================================== [ERROR]: desktopcouch.records.tests.test_server.TestCouchDatabase.test_get_view_by_type_new_but_already Traceback (most recent call last): File "/usr/lib/python2.6/dist-packages/testtools/testcase.py", line 161, in run self.setUp() File "/tmp/desktopcouch/desktopcouch/records/tests/test_server.py", line 45, in setUp self.database = CouchDatabase(self.dbname, create=True) File "/tmp/desktopcouch/desktopcouch/records/server.py", line 70, in __init__ if database not in self._server: File "/usr/lib/pymodules/python2.6/couchdb/client.py", line 124, in __contains__ self.resource.head(validate_dbname(name)) File "/usr/lib/pymodules/python2.6/couchdb/client.py", line 981, in head return self._request('HEAD', path, headers=headers, **params) File "/usr/lib/pymodules/python2.6/couchdb/client.py", line 1035, in _request raise ServerError((status_code, error)) couchdb.client.ServerError: (401, '') =============================================================================== [ERROR]: desktopcouch.records.tests.test_server.TestCouchDatabase.test_list_views Traceback (most recent call last): File "/usr/lib/python2.6/dist-packages/testtools/testcase.py", line 161, in run self.setUp() File "/tmp/desktopcouch/desktopcouch/records/tests/test_server.py", line 45, in setUp self.database = CouchDatabase(self.dbname, create=True) File "/tmp/desktopcouch/desktopcouch/records/server.py", line 70, in __init__ if database not in self._server: File "/usr/lib/pymodules/python2.6/couchdb/client.py", line 124, in __contains__ self.resource.head(validate_dbname(name)) File "/usr/lib/pymodules/python2.6/couchdb/client.py", line 981, in head return self._request('HEAD', path, headers=headers, **params) File "/usr/lib/pymodules/python2.6/couchdb/client.py", line 1035, in _request raise ServerError((status_code, error)) couchdb.client.ServerError: (401, '') =============================================================================== [ERROR]: desktopcouch.records.tests.test_server.TestCouchDatabase.test_put_record Traceback (most recent call last): File "/usr/lib/python2.6/dist-packages/testtools/testcase.py", line 161, in run self.setUp() File "/tmp/desktopcouch/desktopcouch/records/tests/test_server.py", line 45, in setUp self.database = CouchDatabase(self.dbname, create=True) File "/tmp/desktopcouch/desktopcouch/records/server.py", line 70, in __init__ if database not in self._server: File "/usr/lib/pymodules/python2.6/couchdb/client.py", line 124, in __contains__ self.resource.head(validate_dbname(name)) File "/usr/lib/pymodules/python2.6/couchdb/client.py", line 981, in head return self._request('HEAD', path, headers=headers, **params) File "/usr/lib/pymodules/python2.6/couchdb/client.py", line 1035, in _request raise ServerError((status_code, error)) couchdb.client.ServerError: (401, '') =============================================================================== [ERROR]: desktopcouch.records.tests.test_server.TestCouchDatabase.test_record_exists Traceback (most recent call last): File "/usr/lib/python2.6/dist-packages/testtools/testcase.py", line 161, in run self.setUp() File "/tmp/desktopcouch/desktopcouch/records/tests/test_server.py", line 45, in setUp self.database = CouchDatabase(self.dbname, create=True) File "/tmp/desktopcouch/desktopcouch/records/server.py", line 70, in __init__ if database not in self._server: File "/usr/lib/pymodules/python2.6/couchdb/client.py", line 124, in __contains__ self.resource.head(validate_dbname(name)) File "/usr/lib/pymodules/python2.6/couchdb/client.py", line 981, in head return self._request('HEAD', path, headers=headers, **params) File "/usr/lib/pymodules/python2.6/couchdb/client.py", line 1035, in _request raise ServerError((status_code, error)) couchdb.client.ServerError: (401, '') =============================================================================== [ERROR]: desktopcouch.records.tests.test_server.TestCouchDatabase.test_update_fields Traceback (most recent call last): File "/usr/lib/python2.6/dist-packages/testtools/testcase.py", line 161, in run self.setUp() File "/tmp/desktopcouch/desktopcouch/records/tests/test_server.py", line 45, in setUp self.database = CouchDatabase(self.dbname, create=True) File "/tmp/desktopcouch/desktopcouch/records/server.py", line 70, in __init__ if database not in self._server: File "/usr/lib/pymodules/python2.6/couchdb/client.py", line 124, in __contains__ self.resource.head(validate_dbname(name)) File "/usr/lib/pymodules/python2.6/couchdb/client.py", line 981, in head return self._request('HEAD', path, headers=headers, **params) File "/usr/lib/pymodules/python2.6/couchdb/client.py", line 1035, in _request raise ServerError((status_code, error)) couchdb.client.ServerError: (401, '') =============================================================================== [ERROR]: desktopcouch.records.tests.test_server.TestCouchDatabase.test_view_add_and_delete Traceback (most recent call last): File "/usr/lib/python2.6/dist-packages/testtools/testcase.py", line 161, in run self.setUp() File "/tmp/desktopcouch/desktopcouch/records/tests/test_server.py", line 45, in setUp self.database = CouchDatabase(self.dbname, create=True) File "/tmp/desktopcouch/desktopcouch/records/server.py", line 70, in __init__ if database not in self._server: File "/usr/lib/pymodules/python2.6/couchdb/client.py", line 124, in __contains__ self.resource.head(validate_dbname(name)) File "/usr/lib/pymodules/python2.6/couchdb/client.py", line 981, in head return self._request('HEAD', path, headers=headers, **params) File "/usr/lib/pymodules/python2.6/couchdb/client.py", line 1035, in _request raise ServerError((status_code, error)) couchdb.client.ServerError: (401, '') ------------------------------------------------------------------------------- Ran 56 tests in 2.575s FAILED (errors=26, successes=30)