more missing tearDowns
This commit is contained in:
parent
f49ee80a7b
commit
2485b87294
65 changed files with 189 additions and 6 deletions
|
|
@ -25,6 +25,9 @@ class TestSetTaskPriority(utils.CliTestCase):
|
|||
%s: error: {message}
|
||||
""" % (self.progname, self.progname)
|
||||
|
||||
def tearDown(self):
|
||||
mock.patch.stopall()
|
||||
|
||||
@mock.patch('sys.stderr', new_callable=six.StringIO)
|
||||
@mock.patch('sys.stdout', new_callable=six.StringIO)
|
||||
def test_handle_set_task_priority(self, stdout, stderr):
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue