Switch to side-by-side view
--- a/Allura/allura/tests/model/test_repo.py +++ b/Allura/allura/tests/model/test_repo.py @@ -128,6 +128,7 @@ repo=self.repo, ) commit.tree = self._build_tree(commit, '/', tree_paths) + commit.get_tree = lambda c: commit.tree diffinfo = M.repo.DiffInfoDoc(dict( _id=commit._id, differences=[{'name': p} for p in diff_paths or tree_paths],