PYTHON-2754 Add Spec Tests For DB Names With Commas (#1162)

This commit is contained in:
Julius Park 2023-02-23 10:20:17 -08:00 committed by GitHub
parent 6e2e70ab80
commit 715dd34810
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
2 changed files with 38 additions and 0 deletions

View File

@ -0,0 +1,19 @@
{
"uri": "mongodb+srv://test1.test.build.10gen.cc/some%2Cdb?replicaSet=repl0",
"seeds": [
"localhost.test.build.10gen.cc:27017",
"localhost.test.build.10gen.cc:27018"
],
"hosts": [
"localhost:27017",
"localhost:27018",
"localhost:27019"
],
"options": {
"replicaSet": "repl0",
"ssl": true
},
"parsed_options": {
"defaultDatabase": "some,db"
}
}

View File

@ -0,0 +1,19 @@
{
"uri": "mongodb+srv://test1.test.build.10gen.cc/some,db?replicaSet=repl0",
"seeds": [
"localhost.test.build.10gen.cc:27017",
"localhost.test.build.10gen.cc:27018"
],
"hosts": [
"localhost:27017",
"localhost:27018",
"localhost:27019"
],
"options": {
"replicaSet": "repl0",
"ssl": true
},
"parsed_options": {
"defaultDatabase": "some,db"
}
}