We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 9aa3781 commit e756efcCopy full SHA for e756efc
1 file changed
test/test_uri_parser.py
@@ -583,7 +583,22 @@ def test_error_when_return_address_does_not_end_with_srv_domain(self):
583
},
584
{
585
"query": "_mongodb._tcp.mongo.local",
586
- "mock_target": "foo.mongo.local",
+ "mock_target": "mongo.local",
587
+ "expected_error": "Invalid SRV host",
588
+ },
589
+ {
590
+ "query": "_mongodb._tcp.localhost",
591
+ "mock_target": "test_1.cluster_1localhost",
592
593
594
595
+ "query": "_mongodb._tcp.mongo.local",
596
+ "mock_target": "test_1.my_hostmongo.local",
597
598
599
600
+ "query": "_mongodb._tcp.blogs.mongodb.com",
601
+ "mock_target": "cluster.testmongodb.com",
602
"expected_error": "Invalid SRV host",
603
604
]
0 commit comments