Move db/auth to kojihub module
Related: https://pagure.io/koji/issue/3666
This commit is contained in:
parent
5ecc788603
commit
b0e91e378c
38 changed files with 128 additions and 140 deletions
|
|
@ -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"
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue