PYTHON-2754 Add Spec Tests For DB Names With Commas (#1162)
This commit is contained in:
parent
6e2e70ab80
commit
715dd34810
@ -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"
|
||||
}
|
||||
}
|
||||
19
test/srv_seedlist/replica-set/dbname-with-commas.json
Normal file
19
test/srv_seedlist/replica-set/dbname-with-commas.json
Normal 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"
|
||||
}
|
||||
}
|
||||
Loading…
Reference in New Issue
Block a user