more mock.patch cleanup
This commit is contained in:
parent
1a51320e86
commit
48d78bd535
19 changed files with 44 additions and 0 deletions
|
|
@ -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
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue