~bzr-pqm/bzr/bzr.dev

« back to all changes in this revision

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

(robertc) Deprecate WorkingTree.pending_merges.

Show diffs side-by-side

added added

removed removed

Lines of Context:
83
83
    def test_commit_sets_last_revision(self):
84
84
        tree = self.make_branch_and_tree('tree')
85
85
        committed_id = tree.commit('foo', rev_id='foo', allow_pointless=True)
86
 
        self.assertEqual('foo', tree.last_revision())
 
86
        self.assertEqual(['foo'], tree.get_parent_ids())
87
87
        # the commit should have returned the same id we asked for.
88
88
        self.assertEqual('foo', committed_id)
89
89