~bzr-pqm/bzr/bzr.dev

« back to all changes in this revision

Viewing changes to bzrlib/tests/test_source.py

first cut at merge from integration.

Show diffs side-by-side

added added

removed removed

Lines of Context:
55
55
        # do not even think of increasing this number. If you think you need to
56
56
        # increase it, then you almost certainly are doing something wrong as
57
57
        # the relationship from working_tree to branch is one way.
58
 
        # Note that this is an exact equality so that when the number drops, 
59
 
        #it is not given a buffer but rather has this test updated immediately.
60
 
        self.assertEqual(0, occurences)
 
58
        # This number should be 0, but the basis_inventory merge was done
 
59
        # before this test was written. Note that this is an exact equality
 
60
        # so that when the number drops, it is not given a buffer but rather
 
61
        # this test updated immediately.
 
62
        self.assertEqual(1, occurences)
61
63
 
62
64
    def test_branch_WorkingTree(self):
63
65
        """Test that the number of uses of working_tree in branch is stable."""
72
74
        # written. Note that this is an exact equality so that when the number
73
75
        # drops, it is not given a buffer but rather this test updated
74
76
        # immediately.
75
 
        self.assertEqual(4, occurences)
 
77
        self.assertEqual(13, occurences)