/b-gtk/fix-viz

To get this branch, use:
bzr branch http://gegoxaren.bato24.eu/bzr/b-gtk/fix-viz

« back to all changes in this revision

Viewing changes to tests/test_diff.py

  • Committer: Jelmer Vernooij
  • Author(s): Chris Lamb
  • Date: 2008-05-01 13:00:15 UTC
  • mto: This revision was merged to the branch mainline in revision 482.
  • Revision ID: jelmer@samba.org-20080501130015-lmn22j03044vqngp
Set suitable FDO categories in .desktop files

Show diffs side-by-side

added added

removed removed

Lines of Context:
20
20
 
21
21
from bzrlib import tests
22
22
 
23
 
from bzrlib.plugins.gtk.diff import DiffView, _iter_changes_to_status
 
23
from bzrlib.plugins.gtk.diff import DiffView, iter_changes_to_status
24
24
 
25
25
 
26
26
class TestDiffViewSimple(tests.TestCase):
72
72
class Test_IterChangesToStatus(tests.TestCaseWithTransport):
73
73
 
74
74
    def assertStatusEqual(self, expected, tree):
75
 
        values = _iter_changes_to_status(tree.basis_tree(), tree)
 
75
        values = iter_changes_to_status(tree.basis_tree(), tree)
76
76
        self.assertEqual(expected, values)
77
77
 
78
78
    def test_status_added(self):