diff --git a/rhodecode/tests/functional/test_summary.py b/rhodecode/tests/functional/test_summary.py --- a/rhodecode/tests/functional/test_summary.py +++ b/rhodecode/tests/functional/test_summary.py @@ -41,7 +41,7 @@ class TestSummaryController(TestControll def _enable_stats(self): - r = Repository.by_repo_name(HG_REPO) + r = Repository.get_by_repo_name(HG_REPO) r.enable_statistics = True self.sa.add(r) self.sa.commit()