27
27
def test_pending_none(self):
28
28
# Test whether show_pending_merges works in a tree with no commits
29
29
tree = self.make_branch_and_tree('a')
31
31
tree2 = self.make_branch_and_tree('b')
32
32
tree2.branch.fetch(tree.branch)
35
35
show_pending_merges(tree2, output)
36
36
self.assertContainsRe(output.getvalue(), 'empty commit')