/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_commit.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:
163
163
        tree.add(['a'], ['a-id'])
164
164
 
165
165
        dlg = CommitDialogNoWidgets(tree)
 
166
        self.assertIs(None, dlg._delta)
 
167
        dlg._compute_delta()
 
168
 
166
169
        delta = dlg._delta
167
170
        self.assertEqual([], delta.modified)
168
171
        self.assertEqual([], delta.renamed)