From 0b1b36d10ca39a1efa317eae516caa8df98bc87b Mon Sep 17 00:00:00 2001 From: Xavier Morel Date: Wed, 8 Jul 2020 08:09:38 +0200 Subject: [PATCH] [FIX] runbot: mis-migrated test 73f720a55c8d2c3b3f867e293ff5cb6fb93281a7 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. --- runbot/tests/test_repo.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/runbot/tests/test_repo.py b/runbot/tests/test_repo.py index 34b91859..980ed998 100644 --- a/runbot/tests/test_repo.py +++ b/runbot/tests/test_repo.py @@ -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 = []