mongo-python-driver/test
Heewa Barfchin 5c4556b013 Add generator versions of decode_all in bson.
When decoding large collections of bson documents, the python representation
of dicts are time and space costly, so it's sometimes useful to generate and
consume the documents iteratively. This patch adds two new functions to do
that: decode_iter and decode_file_iter. The first is given all the bson data,
but yields one document at a time, while the second reads from a file object
enough to yield one document at a time (to avoid reading in an entire file).
2014-11-21 15:22:24 -08:00
..
certificates Update expired test file ca.pem from server repository. 2013-12-24 11:08:46 -06:00
high_availability More robust test_read_preference. 2014-04-03 09:45:54 -04:00
mod_wsgi_test Test connecting to standalone or RS from the same mod_wsgi script. 2014-09-24 09:52:41 -04:00
__init__.py PYTHON-765 Allow tests to use an existing user when running with auth enabled. 2014-09-19 22:38:53 +00:00
pymongo_mocks.py Use maxWriteBatchSize for write command batch splitting, PYTHON-642. 2014-02-21 14:05:40 -05:00
qcheck.py Update copyright notices and company name. 2014-01-31 09:36:46 -05:00
test_auth.py Skip copydb auth test with mongos. 2014-11-10 19:42:41 -05:00
test_binary.py PYTHON-751 Move all auth tests to the test_auth module. 2014-08-29 22:51:39 +00:00
test_bson.py Add generator versions of decode_all in bson. 2014-11-21 15:22:24 -08:00
test_bulk.py Fix TestBulkWriteConcern for MongoDB 2.8. 2014-11-10 18:33:22 -05:00
test_client.py PYTHON-777 Make copy_database work with SCRAM-SHA-1. 2014-11-07 17:13:40 -05:00
test_code.py Update copyright notices and company name. 2014-01-31 09:36:46 -05:00
test_collection.py More thorough test_last_error_options. 2014-11-10 18:33:22 -05:00
test_common.py PYTHON-644 - Send w=1 to the server if explicitly provided. 2014-10-23 17:08:45 -04:00
test_cursor.py PYTHON-314, PYTHON-744 - Hint by index name, count with hint. 2014-09-12 13:50:04 -07:00
test_database.py PYTHON-781 - Fix tests for multiple storage engines. 2014-10-28 15:30:25 -07:00
test_dbref.py Unused import. 2014-03-05 10:37:57 -05:00
test_errors.py Update copyright notices and company name. 2014-01-31 09:36:46 -05:00
test_grid_file.py PYTHON-782 Demonstrate error from readchunk() of disconnected GridOut. 2014-11-06 22:18:04 -05:00
test_gridfs.py Test GridFS.find_one. 2014-10-28 15:53:36 -04:00
test_json_util.py PYTHON-791 - Fix JSON support for Timestamp. 2014-11-21 09:26:37 -08:00
test_legacy_connections.py PYTHON-751 Move all auth tests to the test_auth module. 2014-08-29 22:51:39 +00:00
test_master_slave_connection.py Fix MasterSlaveConnection insert test. 2014-10-29 14:11:35 -07:00
test_mongos_ha.py PYTHON-751 Move all auth tests to the test_auth module. 2014-08-29 22:51:39 +00:00
test_objectid.py PYTHON-751 Move all auth tests to the test_auth module. 2014-08-29 22:51:39 +00:00
test_pooling_base.py Remove unreliable TestPoolSocketSharingThreads test. 2014-09-19 15:40:22 -04:00
test_pooling_gevent.py Remove unreliable TestPoolSocketSharingThreads test. 2014-09-19 15:40:22 -04:00
test_pooling.py Remove unreliable TestPoolSocketSharingThreads test. 2014-09-19 15:40:22 -04:00
test_pymongo.py PYTHON-751 Move all auth tests to the test_auth module. 2014-08-29 22:51:39 +00:00
test_read_preferences.py PYTHON-762 - Use listIndexes for index_information 2014-10-02 16:20:21 -07:00
test_replica_set_client.py PYTHON-777 Make copy_database work with SCRAM-SHA-1. 2014-11-07 17:13:40 -05:00
test_replica_set_reconfig.py PYTHON-751 Move all auth tests to the test_auth module. 2014-08-29 22:51:39 +00:00
test_son_manipulator.py Update copyright notices and company name. 2014-01-31 09:36:46 -05:00
test_son.py PYTHON-703 Fix tests for Python 2.4. 2014-10-24 13:09:46 -04:00
test_ssl.py added failure cases for x509 auth tests 2014-02-25 12:34:42 -08:00
test_thread_util.py Skip test_ident in Jython. 2014-04-01 16:18:36 -04:00
test_threads_replica_set_client.py PYTHON-751 Move all auth tests to the test_auth module. 2014-08-29 22:51:39 +00:00
test_threads.py PYTHON-751 Move all auth tests to the test_auth module. 2014-08-29 22:51:39 +00:00
test_timestamp.py Update copyright notices and company name. 2014-01-31 09:36:46 -05:00
test_uri_parser.py PYTHON-764 SCRAM-SHA-1 automatic upgrade / downgrade. 2014-10-23 08:28:09 -04:00
utils.py PYTHON-736 Delete racy test_exhaust_getmore_server_error. 2014-10-17 17:11:09 -04:00
version.py Update copyright notices and company name. 2014-01-31 09:36:46 -05:00