more missing tearDowns

This commit is contained in:
Mike McLean 2024-03-30 10:00:48 -04:00 committed by Tomas Kopecek
parent f49ee80a7b
commit 2485b87294
65 changed files with 189 additions and 6 deletions

View file

@ -39,6 +39,9 @@ class TestHello(utils.CliTestCase):
""" % (self.progname, self.progname)
self.huburl = "https://%s.local/%shub" % (self.progname, self.progname)
def tearDown(self):
mock.patch.stopall()
@mock.patch('sys.stdout', new_callable=six.StringIO)
@mock.patch('koji_cli.commands._printable_unicode')
def test_handle_moshimoshi(self, print_unicode_mock, stdout):