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):
934934 self .assertEqual (client_two , client )
935935
936936 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 )
938938 # before srv resolution
939939 self .assertIn ("host='mongodb+srv://test1.test.build.10gen.cc'" , repr (client ))
940940 await client .aconnect ()
Original file line number Diff line number Diff line change @@ -909,7 +909,7 @@ def test_repr(self):
909909 self .assertEqual (client_two , client )
910910
911911 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 )
913913 # before srv resolution
914914 self .assertIn ("host='mongodb+srv://test1.test.build.10gen.cc'" , repr (client ))
915915 client ._connect ()
You can’t perform that action at this time.
0 commit comments