[FIX] runbot: mis-migrated test

73f720a55c refactored the runbot tests,
and amongst other things created a single patch point for the "mock
root" as a testcase attribute.

One of the tests was missed during that refactoring, likely because
it's skipped by default.
This commit is contained in:
Xavier Morel 2020-07-08 08:09:38 +02:00 committed by Christophe Monniez
parent af00bf16e7
commit 0b1b36d10c

View File

@ -153,7 +153,7 @@ class Test_Repo(RunbotCase):
@skip('This test is for performances. It needs a lot of real branches in DB to mean something')
def test_repo_perf_find_new_commits(self):
mock_root.return_value = '/tmp/static'
self.mock_root.return_value = '/tmp/static'
repo = self.env['runbot.repo'].search([('name', '=', 'blabla')])
self.commit_list = []