tests: stop mocks in DBQueryTest setUp
Fixes: https://pagure.io/koji/issue/2758
This commit is contained in:
parent
8c9a34737b
commit
66a1ef2ab7
1 changed files with 1 additions and 0 deletions
|
|
@ -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',
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue