149
149
def test_last_revision(self):
150
150
"""There should be a last revision method we can call."""
151
151
tree = self.make_branch_and_memory_tree('branch')
152
154
rev_id = tree.commit('first post')
153
156
self.assertEqual(rev_id, tree.last_revision())