/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: John Arbash Meinel
  • Date: 2007-10-01 18:26:38 UTC
  • mto: (322.1.1 trunk) (330.3.3 trunk)
  • mto: This revision was merged to the branch mainline in revision 368.
  • Revision ID: john@arbash-meinel.com-20071001182638-k6us5j33j06n3ppy
Delay computing the delta, and clean up some of the diff view names.

Show diffs side-by-side

added added

removed removed

Lines of Context:
17
17
 
18
18
from cStringIO import StringIO
19
19
 
20
 
from bzrlib.plugins.gtk.diff import DiffWindow
 
20
from bzrlib.plugins.gtk.diff import DiffView
21
21
from bzrlib.tests import TestCase
22
22
 
23
 
class TestDiffWindow(TestCase):
 
23
class TestDiffView(TestCase):
24
24
    def test_parse_colordiffrc(self):
25
25
        colordiffrc = '''\
26
26
newtext=blue
35
35
                'oldtext': 'Red',
36
36
                'diffstuff': '#ffff00',
37
37
        }
38
 
        parsed_colors = DiffWindow.parse_colordiffrc(StringIO(colordiffrc))
 
38
        parsed_colors = DiffView.parse_colordiffrc(StringIO(colordiffrc))
39
39
        self.assertEqual(colors, parsed_colors)