Show More
@@ -160,7 +160,8 b' class TestRepoModel:' | |||
|
160 | 160 | with mock.patch('rhodecode.model.db.Repository.scm_instance') as scm: |
|
161 | 161 | scm_instance = mock.Mock() |
|
162 | 162 | scm_instance.get_commit.return_value = { |
|
163 | 'raw_id': 40*'0' | |
|
163 | 'raw_id': 40*'0', | |
|
164 | 'revision': 1 | |
|
164 | 165 | } |
|
165 | 166 | scm.return_value = scm_instance |
|
166 | 167 | repo.update_commit_cache() |
General Comments 0
You need to be logged in to leave comments.
Login now