Shane Harvey
e3c58c0325
PYTHON-1291 Skip *_with_invalid_keys tests against >= 3.5.8.
2017-06-28 18:05:21 -07:00
Bernie Hackett
3d49b2f5f6
Fix test_comment for MongoDB 3.5
2017-05-25 16:59:48 -07:00
Bernie Hackett
01f773c9f7
Test mod_wsgi in Evergreen
2017-04-27 12:14:02 -07:00
Bernie Hackett
099453fd81
Migrate testing to Ubuntu 12.04
...
This commit also cleans up the Evergreen config
file and fixes a test for MongoDB 3.5+.
2017-04-26 21:13:43 -07:00
Bernie Hackett
b95a4d8457
PYTHON-1201 - Test GSSAPI and PLAIN authentication
2017-03-14 13:05:17 -07:00
Bernie Hackett
d5ccdb48b0
Fix UUID tests with the pypi uuid module
...
This change skips tests of CSHARP_LEGACY when the third
party uuid module from pypi is installed (or any other
uuid module that doesn't support bytes_le).
2017-03-06 12:40:54 -08:00
Bernie Hackett
959b395da0
Fix infrequent read preference test failure
2017-02-17 16:02:06 -08:00
Bernie Hackett
39cf311c74
PYTHON-1158 - Protect pool init and fix auth test
2017-02-07 15:26:33 -08:00
Bernie Hackett
9e123e3c11
PYTHON-1235 - Fix auto reconnect test under Jython 2.7
2017-02-06 13:38:11 -08:00
Bernie Hackett
80fdf61cdb
PYTHON-1205 - Use SIGALRM instead of interrupt_main on non-Windows
2017-02-06 13:36:23 -08:00
Bernie Hackett
544fd06f6f
Fix tests for gevent 1.2
...
Gevent 1.2 replaced gevent.coros with gevent.lock.
2017-02-06 13:33:54 -08:00
Bernie Hackett
090a39be10
Improve master slave test setup
2017-02-06 13:32:36 -08:00
Bernie Hackett
7ff4898e97
Improve test suite primary discovery
2017-02-06 13:30:49 -08:00
Bernie Hackett
295bd96648
PYTHON-1237 - Update aggregate test for MongoDB 3.5+
2017-02-06 13:24:14 -08:00
Bernie Hackett
0308797cca
Update TLS test certificates and test configuration
2017-02-06 13:23:00 -08:00
Shane Harvey
489ef3676e
PYTHON-1198 Test PyMongo v2.9 on Evergreen.
...
Install nose via setup_requires to produce XML test output.
Add Python 2.4, 2.5, Jython 2.5 testing.
Only run the SSL test suite when SSL is enabled.
test_ssl.py should not fail when auth_context.client does not exist.
Work around the nosetests command and verbosity flag on Python 3.
2017-02-03 15:54:46 -08:00
Bernie Hackett
f37be740e2
Remove test assumptions about primary host
2016-09-21 17:31:19 -07:00
A. Jesse Jiryu Davis
c7c352ff3d
PYTHON-1145 RS client obeys "uuidRepresentation=".
2016-09-19 17:19:06 -04:00
Bernie Hackett
d172aeb542
PYTHON-1092 - Backport Cursor.address from PyMongo 3.x
2016-05-19 17:30:47 -07:00
Bernie Hackett
753ef14b7f
PYTHON-1088 - Fix various MongoClient __repr__ issues
2016-05-19 14:16:35 -07:00
Bernie Hackett
6f3e23b9f4
Test debugging
2016-03-10 14:36:17 -08:00
Bernie Hackett
64801b45c6
Fix a racy test
2016-03-10 12:50:35 -08:00
Bernie Hackett
264cdd8b5a
PYTHON-1070 - Make index cache thread safe
2016-03-10 10:12:02 -08:00
Bernie Hackett
57cc383286
Fix a test for MongoDB 3.3 behavior change
2016-03-03 16:17:50 -05:00
Bernie Hackett
27a232cd40
PYTHON-1056 - Disallow double quotes in database names
2016-03-02 16:38:02 -05:00
Bernie Hackett
cd66d35213
PYTHON-1062 - Only use "textSearchEnabled" when testing MongoDB 2.4
2016-03-02 15:08:58 -05:00
Bernie Hackett
8b7a13629b
PYTHON-1044 - Fix up unknown BSON type handing
2016-01-29 13:40:03 -08:00
Bernie Hackett
8ee51cf438
PYTHON-1021 - Support git describe based server versions
2015-12-15 15:40:35 -08:00
Bernie Hackett
f88c5ff2bc
Fix a bulk operations test for MongoDB 3.2 behavior change
2015-11-15 22:23:52 -08:00
Bernie Hackett
fb01841f50
PYTHON-996 - Adjust regex tests for python 3.5
2015-09-22 14:46:33 -07:00
Bernie Hackett
6440ebe89a
Fix a test under python 3.5
2015-09-22 13:14:05 -07:00
Bernie Hackett
e0bfbaa0be
Fix up profiling tests for MongoDB 3.1.x
2015-09-11 16:59:39 -07:00
Luke Lovett
819febc041
PYTHON-977 - avoid 'b' string prefix for Python version compatibility in tests.
2015-09-04 16:01:44 -07:00
Luke Lovett
18054a19fc
PYTHON-977 - Fix __hash__ method on BSON types that inherit from Python builtin types.
...
In Python 2, objects automatically inherit the __hash__ of their parent
class. In Python 3, objects that override __eq__ do not automatically inherit
__hash__, so these objects were not hashable under Python 3. Additionally,
mutable BSON types and types that overide __eq__ but did not explicitly define
__hash__ had broken __hash__ methods under Python 2. This commit unifies the
hashing behavior between Python versions and fixes the __hash__ methods such
that two BSON objects hash the same only if they are equal.
N.B.: bson.code.Code and bson.regex.Regex are no longer hashable under Python 2
because they are mutable.
2015-09-04 14:56:43 -07:00
Bernie Hackett
283bfa364f
Fix up copyright dates
2015-08-05 19:30:30 -07:00
Bernie Hackett
699b6d3cdf
PYTHON-966 - 3.0 compatibility for read preference options
2015-07-17 12:41:18 -07:00
Bernie Hackett
23cb737cae
PYTHON-832 - Re-enable copy_database auth tests for MongoDB 3.0+.
2015-07-15 15:28:12 -07:00
Bernie Hackett
92968aad19
PYTHON-965 Backport MongoClient.address.
...
This change also deprecates MongoClient.host and MongoClient.port,
which are removed in PyMongo 3.
2015-07-14 13:13:12 -07:00
Bernie Hackett
c11aae4071
Fix $comment tests for MongoDB 3.1.x.
2015-07-13 17:19:53 -07:00
Bernie Hackett
d312f8787d
PYTHON-887 - Deprecate all features removed in 3.0
2015-07-13 14:56:32 -07:00
Bernie Hackett
e4c8d17a8f
PYTHON-955 - Backport connect option.
2015-06-25 11:47:42 -07:00
aherlihy
8f6c0ec68c
PYTHON-950 - Backport CRUD write methods.
2015-06-23 11:21:27 -07:00
aherlihy
219e8a084e
PYTHON-949 Support CodecOptions in message.py.
2015-06-17 12:27:48 -07:00
Bernie Hackett
c10a098c2c
PYTHON-951 - Use bytes in GridFS tests.
2015-06-16 16:54:02 -07:00
Bernie Hackett
1c6ed1b351
PYTHON-951 - Raise CorruptGridFile for truncated chunks.
2015-06-16 16:22:45 -07:00
Bernie Hackett
331347871c
PYTHON-888 - Skip UUID test on python 2.4.
2015-06-16 13:40:41 -07:00
aherlihy
4d6e8637bf
PYTHON-888 Add codec_options support to the bson module.
2015-06-16 12:51:36 -07:00
Bernie Hackett
3487b4bfa1
PYTHON-834 - Add option to disable match_hostname.
2015-06-16 12:47:23 -07:00
Bernie Hackett
9b1ac9717f
PYTHON-882 - Backport get_database, get_collection, and with_options.
...
This change comes with a small backward breaking change in the
behavior of client.document_class in exchange for enhanced
configuration flexibility. See changelog.rst for details and
examples.
2015-06-11 14:54:04 -07:00
aherlihy
d19f4996ca
PYTHON-889 The aggregate method should always return CommandCursor when passed the cursor option.
2015-06-08 15:05:38 -07:00