~bzr-pqm/bzr/bzr.dev

« back to all changes in this revision

Viewing changes to bzrlib/tests/workingtree_implementations/test_inv.py

  • Committer: Andrew Bennetts
  • Date: 2007-03-26 07:11:40 UTC
  • mto: This revision was merged to the branch mainline in revision 2376.
  • Revision ID: andrew.bennetts@canonical.com-20070326071140-s1ldac8zkl1b417h
Fix test_snapshot_new_revision to use branch.repository.get_transaction instead of branch.get_transaction.

Show diffs side-by-side

added added

removed removed

Lines of Context:
78
78
        # this should be a separate test probably, but lets check it once..
79
79
        lines = self.branch.repository.weave_store.get_weave(
80
80
            'fileid', 
81
 
            self.branch.get_transaction()).get_lines('2')
 
81
            self.branch.repository.get_transaction()).get_lines('2')
82
82
        self.assertEqual(lines, ['contents of subdir/file\n'])
83
83
 
84
84
    def test_snapshot_unchanged(self):