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 TestEnableUser(utils.CliTestCase):
|
|||
""" % (self.progname, self.progname)
|
||||
self.username = 'user'
|
||||
|
||||
def tearDown(self):
|
||||
mock.patch.stopall()
|
||||
|
||||
def test_handle_enable_user_no_argument(self):
|
||||
"""Test handle_enable_user function"""
|
||||
expected = self.format_error_message("You must specify the username of the user to enable")
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue