~bzr-pqm/bzr/bzr.dev

« back to all changes in this revision

Viewing changes to bzrlib/selftest/test_weave.py

  • Committer: Martin Pool
  • Date: 2005-10-07 06:29:17 UTC
  • mto: (1185.13.3)
  • mto: This revision was merged to the branch mainline in revision 1422.
  • Revision ID: mbp@sourcefrog.net-20051007062917-941d86c440578707
- more tests for reweave

Show diffs side-by-side

added added

removed removed

Lines of Context:
897
897
        eq = self.assertEquals
898
898
        eq(sorted(wc.iter_names()), ['v1', 'v2', 'v3', 'x1',])
899
899
        eq(wc.get_text('x1'), 'line from x1\n')
 
900
        eq(wc.get_lines('v2'), ['hello\n', 'world\n'])
 
901
        eq(wc.parent_names('v2'), ['v1', 'x1'])
900
902
 
901
903
 
902
904
if __name__ == '__main__':