Steven Silvester
4353278dc8
PYTHON-5207 Convert mod_wsgi tests to use the new test runner ( #2202 )
2025-03-14 10:38:30 -05:00
Noah Stapp
1c7a7fe9ec
PYTHON-4721 - Create individualized scripts for all shell.exec commands ( #1997 )
...
Co-authored-by: Jib <jib.adegunloye@mongodb.com>
2024-11-20 14:47:28 -05:00
Noah Stapp
993171cd3d
PYTHON-4565 - Use pytest markers for test suite configuration ( #1741 )
2024-07-23 14:28:55 -05:00
Noah Stapp
d6bf0e1e78
PYTHON-4264 Async PyMongo Beta ( #1629 )
2024-06-06 09:01:24 -07:00
Steven Silvester
923c8a5abe
PYTHON-4024 Use ruff formatter ( #1419 )
2023-11-02 12:46:40 -05:00
Steven Silvester
992d1507e7
PYTHON-4005 Replace flake8 and isort with ruff ( #1399 )
2023-10-19 11:56:22 -05:00
Shane Harvey
eed4a55184
PYTHON-694 Test mod_wsgi sub interpreters ( #1327 )
...
Test mod_wsgi sub interpreters and embedded mode.
Use unique collection name for each mod_wsgi interpreter.
Test encoding/decoding all bson types.
2023-07-26 18:03:29 -07:00
Shane Harvey
0092b0af79
PYTHON-2504 Run pyupgrade 3.4.0 and ruff 0.0.265 ( #1196 )
...
pyupgrade --py37-plus bson/*.py pymongo/*.py gridfs/*.py test/*.py tools/*.py test/*/*.py
ruff --fix-only --select ALL --fixable ALL --target-version py37 --line-length=100 --unfixable COM812,D400,D415,ERA001,RUF100,SIM108,D211,D212,SIM105,SIM,PT,ANN204,EM bson/*.py pymongo/*.py gridfs/*.py test/*.py test/*/*.py
2023-05-11 15:27:17 -07:00
Jean-Christophe Fillion-Robin
d340710e3d
PYTHON-3703 Fix typos and add codespell pre-commit hook ( #1203 )
...
Update pre-commit config adding "codespell" hook
2023-05-03 14:47:24 -07:00
Steven Silvester
a0fe7c03af
PYTHON-3120 Set up flake8 linting ( #868 )
2022-02-17 06:44:08 -06:00
Steven Silvester
5578999a90
PYTHON-1834 Use a code formatter ( #852 )
2022-02-09 06:44:28 -06:00
Steven Silvester
52ed5a4135
PYTHON-3052 Add Typings to PyMongo Itself ( #829 )
2022-01-13 16:09:48 -06:00
Julius Park
dd9206a1ae
PYTHON-2928 Fix mod_wsgi test failures ( #750 )
2021-10-06 11:56:44 -07:00
Bernie Hackett
ad4315134c
PYTHON-2803 Get rid of most uses of 'master'
...
This change also resolves PYTHON-2848 for MongoDB 4.0.
2021-09-13 12:50:49 -07:00
Bernie Hackett
749c1a2f0b
PYTHON-1467 - PyMongo no longer supports Python 2.6
2018-07-02 15:15:43 -07:00
Bernie Hackett
507f954ed4
Update copyright dates
2017-12-01 17:23:39 -08:00
Bernie Hackett
1596c5d94d
PYTHON-1390 - Switch CI OS to RHEL 6.2
2017-10-09 11:03:57 -07:00
Anthony Sottile
41be71f09f
Trim trailing whitespace
2017-08-31 22:26:39 -07:00
Bernie Hackett
f880111754
PYTHON-1240 - Test mod_wsgi in Evergreen
2017-03-14 13:12:29 -07:00
Bernie Hackett
aec685b374
Fix up copyright dates.
2015-03-25 11:55:02 -07:00
A. Jesse Jiryu Davis
7f42430978
PYTHON-847 Remove disconnect(), synonym of MongoClient.close().
...
close() seems more standard among MongoDB drivers.
2015-02-25 14:52:34 -05:00
Bernie Hackett
30af616009
PYTHON-821 - Migrate most tests to new the CRUD API.
2015-02-13 08:46:43 -08:00
A. Jesse Jiryu Davis
262b9893cb
PYTHON-785 Don't call start_request in mod_wsgi test.
2014-11-24 22:48:44 -05:00
A. Jesse Jiryu Davis
f91c3d61cb
Use with-statements to acquire locks.
...
We can use with-statements now that we've dropped support
for Python 2.4.
2014-10-02 10:07:43 -04:00
A. Jesse Jiryu Davis
3dae9fafe8
Instructions to compile python for mod_wsgi testing.
2014-09-24 09:54:43 -04:00
A. Jesse Jiryu Davis
f6f1f77e35
Python 3 compatibility in mod_wsgi test.
2014-09-23 15:26:49 -04:00
A. Jesse Jiryu Davis
3c9fd60fed
PYTHON-525 Use MongoClient in replica set tests.
...
Connect the MongoClient to the replica set if one is running,
otherwise connect it to the standalone. Only continue to use
MongoReplicaSetClient when testing the specific behavior of
that deprecated class.
Also suppress some warnings when running tests, and better
determine whether to test IPv6.
2014-09-20 08:42:23 -04:00
A. Jesse Jiryu Davis
006cb1aaf7
PYTHON-525 Don't use auto_start_request in mod_wsgi tests.
...
auto_start_request is gone from the new MongoClient and is about to be
removed from MongoReplicaSetClient.
2014-09-06 14:50:05 -04:00
A. Jesse Jiryu Davis
619924d05f
Remove mod_wsgi test client's dependency on py3compat.
2014-04-24 15:07:16 -04:00
A. Jesse Jiryu Davis
f524e723e4
Explain how to test PyMongo with mod_wsgi.
2014-04-24 15:07:16 -04:00
Luke Lovett
4d6d1e067b
PYTHON-676 python 2/3 single-source for the test module
2014-04-23 18:37:02 +00:00
A. Jesse Jiryu Davis
2fa1750b07
Update copyright notices and company name.
2014-01-31 09:36:46 -05:00
A. Jesse Jiryu Davis
77e769d75a
Style.
2013-08-15 12:58:14 -04:00
A. Jesse Jiryu Davis
7e43c499ed
Style.
2013-08-15 12:15:49 -04:00
A. Jesse Jiryu Davis
e18058c784
Fix comment.
2013-08-15 12:14:09 -04:00
A. Jesse Jiryu Davis
d35bec12e5
Tests use MongoClient instead of Connection PYTHON-451
2013-02-11 20:57:17 -05:00
A. Jesse Jiryu Davis
3da05fb12b
Test ReplicaSetConnection with mod_wsgi WEBSITE-598
2012-08-23 14:13:16 -04:00
A. Jesse Jiryu Davis
eeef9179ec
Fix connection leak in mod_wsgi 2.x and Python <= 2.6: Instead of storing SocketInfos in threadlocals, watch for thread death with a weakref callback to a generic threadlocal PYTHON-353
2012-06-12 10:05:37 -04:00