File tree Expand file tree Collapse file tree 2 files changed +0
-6
lines changed
Expand file tree Collapse file tree 2 files changed +0
-6
lines changed Original file line number Diff line number Diff line change @@ -80,20 +80,17 @@ async def test_1(self):
8080 self .assertEqual (cursor_ns , target_ns )
8181
8282 self .assertIn (cursor_id , succeeded .reply ["cursorsKilled" ])
83- await client .close ()
8483
8584 # Test no auth
8685 async def test_2 (self ):
8786 client = await self .async_rs_client_noauth ()
8887 await client .admin .command ("ping" )
89- await client .close ()
9088
9189 # Test with auth
9290 async def test_3 (self ):
9391 for mechanism in ["SCRAM-SHA-1" , "SCRAM-SHA-256" ]:
9492 client = await self .async_rs_or_single_client (authMechanism = mechanism )
9593 await client [self .TEST_DB ][self .TEST_COLLECTION ].find_one ()
96- await client .close ()
9794
9895
9996# Location of JSON test specifications.
Original file line number Diff line number Diff line change @@ -80,20 +80,17 @@ def test_1(self):
8080 self .assertEqual (cursor_ns , target_ns )
8181
8282 self .assertIn (cursor_id , succeeded .reply ["cursorsKilled" ])
83- client .close ()
8483
8584 # Test no auth
8685 def test_2 (self ):
8786 client = self .rs_client_noauth ()
8887 client .admin .command ("ping" )
89- client .close ()
9088
9189 # Test with auth
9290 def test_3 (self ):
9391 for mechanism in ["SCRAM-SHA-1" , "SCRAM-SHA-256" ]:
9492 client = self .rs_or_single_client (authMechanism = mechanism )
9593 client [self .TEST_DB ][self .TEST_COLLECTION ].find_one ()
96- client .close ()
9794
9895
9996# Location of JSON test specifications.
You can’t perform that action at this time.
0 commit comments