Move db/auth to kojihub module

Related: https://pagure.io/koji/issue/3666
This commit is contained in:
Tomas Kopecek 2023-02-08 15:40:09 +01:00
parent 5ecc788603
commit b0e91e378c
38 changed files with 128 additions and 140 deletions

View file

@ -29,7 +29,7 @@ class TestSetHostEnabled(unittest.TestCase):
side_effect=self.getUpdate).start()
self.updates = []
self.context = mock.patch('kojihub.kojihub.context').start()
self.context_db = mock.patch('koji.db.context').start()
self.context_db = mock.patch('kojihub.db.context').start()
self.get_host = mock.patch('kojihub.kojihub.get_host').start()
# It seems MagicMock will not automatically handle attributes that
# start with "assert"