more mock.patch cleanup

This commit is contained in:
Mike McLean 2024-04-15 16:29:47 -04:00 committed by Tomas Kopecek
parent 1a51320e86
commit 48d78bd535
19 changed files with 44 additions and 0 deletions

View file

@ -50,6 +50,7 @@ class TestHostinfo(utils.CliTestCase):
else:
os.environ['TZ'] = self.original_timezone
time.tzset()
mock.patch.stopall()
def test_hostinfo_without_option(self):
self.session.getChannel.return_value = None