File tree Expand file tree Collapse file tree 2 files changed +2
-2
lines changed Expand file tree Collapse file tree 2 files changed +2
-2
lines changed Original file line number Diff line number Diff line change @@ -934,7 +934,7 @@ async def test_repr(self):
934
934
self .assertEqual (client_two , client )
935
935
936
936
async def test_repr_srv_host (self ):
937
- client = AsyncMongoClient ("mongodb+srv://test1.test.build.10gen.cc/" )
937
+ client = AsyncMongoClient ("mongodb+srv://test1.test.build.10gen.cc/" , connect = False )
938
938
# before srv resolution
939
939
self .assertIn ("host='mongodb+srv://test1.test.build.10gen.cc'" , repr (client ))
940
940
await client .aconnect ()
Original file line number Diff line number Diff line change @@ -909,7 +909,7 @@ def test_repr(self):
909
909
self .assertEqual (client_two , client )
910
910
911
911
def test_repr_srv_host (self ):
912
- client = MongoClient ("mongodb+srv://test1.test.build.10gen.cc/" )
912
+ client = MongoClient ("mongodb+srv://test1.test.build.10gen.cc/" , connect = False )
913
913
# before srv resolution
914
914
self .assertIn ("host='mongodb+srv://test1.test.build.10gen.cc'" , repr (client ))
915
915
client ._connect ()
You can’t perform that action at this time.
0 commit comments