more mock.patch cleanup

This commit is contained in:
Mike McLean 2024-04-15 16:29:47 -04:00 committed by Tomas Kopecek
parent 1a51320e86
commit 48d78bd535
19 changed files with 44 additions and 0 deletions

View file

@ -36,6 +36,7 @@ class TestGetOptions(unittest.TestCase):
koji.BASEDIR = self.orig_basedir
koji.pathinfo.topdir = self.orig_pathinfo_topdir
cli.load_plugins = self.orig_load_plugins
mock.patch.stopall()
def test_get_options(self):
self.read_config.return_value = self.config_dict