File tree Expand file tree Collapse file tree 2 files changed +2
-0
lines changed Expand file tree Collapse file tree 2 files changed +2
-0
lines changed Original file line number Diff line number Diff line change @@ -498,6 +498,7 @@ async def asyncSetUp(self):
498
498
# process file-level runOnRequirements
499
499
run_on_spec = self .TEST_SPEC .get ("runOnRequirements" , [])
500
500
if not await self .should_run_on (run_on_spec ):
501
+ await self .client .close ()
501
502
raise unittest .SkipTest (f"{ self .__class__ .__name__ } runOnRequirements not satisfied" )
502
503
503
504
# add any special-casing for skipping tests here
Original file line number Diff line number Diff line change @@ -497,6 +497,7 @@ def setUp(self):
497
497
# process file-level runOnRequirements
498
498
run_on_spec = self .TEST_SPEC .get ("runOnRequirements" , [])
499
499
if not self .should_run_on (run_on_spec ):
500
+ self .client .close ()
500
501
raise unittest .SkipTest (f"{ self .__class__ .__name__ } runOnRequirements not satisfied" )
501
502
502
503
# add any special-casing for skipping tests here
You can’t perform that action at this time.
0 commit comments