more missing tearDowns
This commit is contained in:
parent
f49ee80a7b
commit
2485b87294
65 changed files with 189 additions and 6 deletions
|
|
@ -21,6 +21,9 @@ class TestDisableHost(utils.CliTestCase):
|
|||
%s: error: {message}
|
||||
""" % (self.progname, self.progname)
|
||||
|
||||
def tearDown(self):
|
||||
mock.patch.stopall()
|
||||
|
||||
def test_handle_disable_host_no_such_host(self):
|
||||
"""Test %s function""" % handle_disable_host.__name__
|
||||
self.session.getHost.return_value = None
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue