PYTHON-4463 Add authMechanism option to tests where needed (#1665)

(cherry picked from commit ca543d4881)
This commit is contained in:
Steven Silvester 2024-06-07 13:25:46 -05:00 committed by Steven Silvester
parent 6e76e3bc39
commit 7713a727d8
No known key found for this signature in database
GPG Key ID: B1BF5EC3A8B32F91
2 changed files with 3 additions and 3 deletions

View File

@ -40,7 +40,7 @@
},
{
"description": "Colon in a key value pair",
"uri": "mongodb://example.com?authMechanismProperties=TOKEN_RESOURCE:mongodb://test-cluster",
"uri": "mongodb://example.com/?authMechanism=MONGODB-OIDC&authMechanismProperties=TOKEN_RESOURCE:mongodb://test-cluster",
"valid": true,
"warning": false,
"hosts": [

View File

@ -96,13 +96,13 @@
},
{
"description": "Comma in a key value pair causes a warning",
"uri": "mongodb://example.com?authMechanismProperties=TOKEN_RESOURCE:mongodb://host1%2Chost2",
"uri": "mongodb://localhost?authMechanism=MONGODB-OIDC&authMechanismProperties=TOKEN_RESOURCE:mongodb://host1%2Chost2",
"valid": true,
"warning": true,
"hosts": [
{
"type": "hostname",
"host": "example.com",
"host": "localhost",
"port": null
}
],