Show More
@@ -29,6 +29,7 b' import pytest' | |||
|
29 | 29 | from rhodecode.lib import caching_query |
|
30 | 30 | from rhodecode.lib import utils |
|
31 | 31 | from rhodecode.lib.utils2 import md5 |
|
32 | from rhodecode.model import settings | |
|
32 | 33 | from rhodecode.model import db |
|
33 | 34 | from rhodecode.model import meta |
|
34 | 35 | from rhodecode.model.repo import RepoModel |
@@ -402,7 +403,7 b' class TestConfigDataFromDb(object):' | |||
|
402 | 403 | ] |
|
403 | 404 | repo_name = 'test_repo' |
|
404 | 405 | |
|
405 |
model_patch = mock.patch.object( |
|
|
406 | model_patch = mock.patch.object(settings, 'VcsSettingsModel') | |
|
406 | 407 | hooks_patch = mock.patch.object( |
|
407 | 408 | utils, 'get_enabled_hook_classes', |
|
408 | 409 | return_value=['pull', 'push', 'repo_size']) |
General Comments 0
You need to be logged in to leave comments.
Login now