Commit Graph

26 Commits

Author SHA1 Message Date
Noah Stapp
34ca759f85
PYTHON-5113 - Refactor test utils for async (#2149) 2025-03-12 12:59:56 -04:00
Noah Stapp
702c86c02c
PYTHON-5095 - Convert test_read_write_concern_spec to async (#2111) 2025-02-03 08:52:54 -05:00
Noah Stapp
a1ade45dd3
PYTHON-4881 - Use OvertCommandListener wherever sensitive events are not needed (#1943)
Co-authored-by: Steven Silvester <steven.silvester@ieee.org>
2024-10-18 13:32:09 -04:00
Noah Stapp
739510214b
PYTHON-4731 - Explicitly close all MongoClients opened during tests (#1855) 2024-09-17 09:22:17 -04:00
Steven Silvester
5699f8029d
PYTHON-4267 Convert read/write concern spec tests to unified test format (#1763) 2024-08-01 20:01:00 -05:00
Noah Stapp
ffa6555485
PYTHON-4476 Separate data and IO classes more effectively (#1678) 2024-06-26 10:12:39 -07:00
Noah Stapp
d6bf0e1e78
PYTHON-4264 Async PyMongo Beta (#1629) 2024-06-06 09:01:24 -07:00
Steven Silvester
992d1507e7
PYTHON-4005 Replace flake8 and isort with ruff (#1399) 2023-10-19 11:56:22 -05:00
Noah Stapp
b16e06acfd
PYTHON-3727 Use tox for unit tests and switch to pytest (#1249) 2023-06-21 15:07:14 -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
Shane Harvey
79aa5e6757
PYTHON-3516 Improve test EventListener api (#1114) 2022-11-14 08:50:08 -08:00
Steven Silvester
5578999a90
PYTHON-1834 Use a code formatter (#852) 2022-02-09 06:44:28 -06:00
Steven Silvester
f4cef37328
PYTHON-3064 Add typings to test package (#844) 2022-02-07 19:33:41 -06:00
Shane Harvey
df6f6496a4
PYTHON-2927 PYTHON-2937 Skip failing tests on PyPy (#753)
Cleanup test clients more eagerly.
2021-10-13 10:29:38 -07:00
Shane Harvey
11752ed594
PYTHON-2899 Remove code for MongoDB <= 3.4 (#729)
Remove unneeded memoryview to bytes conversion.
2021-09-16 16:53:50 -07:00
Bernie Hackett
3de63373aa PYTHON-2553 Test document validation error details 2021-06-16 19:05:58 -07:00
Shane Harvey
a4f38d7d6e PYTHON-2168 Ensure that the WriteConcernError "errInfo" object is propagated 2020-05-12 11:59:03 -07:00
Shane Harvey
9f8468f309 PYTHON-2037 Test operations omit default write concern 2020-05-08 17:48:07 -07:00
Shane Harvey
c282cc18dd PYTHON-2153 Final workaround for hanging createIndexes wtimeout test 2020-03-31 18:17:12 -07:00
Shane Harvey
04c3a48366 PYTHON-2153 Skip failing createIndexes wtimeout test on 4.3+
PYTHON-2154 Skip failing transactions test on 4.5+
2020-03-06 09:11:01 -08:00
Shane Harvey
5ccdf1af44 PYTHON-2118 Adjust impossible writeConcern tests for 4.4 2020-02-10 10:41:41 -08:00
Bernie Hackett
dbf386c18c PYTHON-1527 - Fix default writeConcern override 2018-06-04 13:56:06 -07:00
Shane Harvey
3c2432d641 PYTHON-1543 Write operations should raise WTimeoutError 2018-05-23 19:57:00 -07:00
Shane Harvey
1e6b7f7eed PYTHON-1523 Do not send default writeConcern 2018-04-16 14:56:43 -07:00
Bernie Hackett
73478106eb PYTHON-1463 - Implement read / write concern spec 2018-04-06 12:55:09 -07:00