Files @ b2575bdb847c
Branch filter:

Location: kallithea/rhodecode/tests/functional/test_changeset.py

Mads Kiilerich
diffs: drop diffs.differ

This function did not really add any value, it was yet another layer that was
hiding the bug that we use ref[1] without ref[0], and it had this strange
undefined behaviour for diffing across repos.

Inlining the call to .get_diff do not make the code more complex but makes it
more obvious what is going on so it can be cleaned up later.
1
2
3
4
5
6
7
8
from rhodecode.tests import *

class TestChangesetController(TestController):

    def test_index(self):
        response = self.app.get(url(controller='changeset', action='index',
                                    repo_name=HG_REPO,revision='tip'))
        # Test response...