From 66a1ef2ab7432cddf3f7bcf5cf4a4e4fb9e3bb43 Mon Sep 17 00:00:00 2001 From: Tomas Kopecek Date: Mar 15 2021 10:01:08 +0000 Subject: tests: stop mocks in DBQueryTest setUp Fixes: https://pagure.io/koji/issue/2758 --- diff --git a/tests/test_hub/utils.py b/tests/test_hub/utils.py index 4f5f6f3..9857581 100644 --- a/tests/test_hub/utils.py +++ b/tests/test_hub/utils.py @@ -9,6 +9,7 @@ QP = kojihub.QueryProcessor class DBQueryTestCase(unittest.TestCase): def setUp(self): + mock.patch.stopall() self.qp_execute_return_value = [] self.qp_execute_side_effect = None self.QueryProcessor = mock.patch('kojihub.QueryProcessor',