~bzr-pqm/bzr/bzr.dev

« back to all changes in this revision

Viewing changes to bzrlib/tests/test_source.py

  • Committer: Martin Pool
  • Date: 2006-03-06 11:20:10 UTC
  • mfrom: (1593 +trunk)
  • mto: This revision was merged to the branch mainline in revision 1611.
  • Revision ID: mbp@sourcefrog.net-20060306112010-17c0170dde5d1eea
[merge] large merge to sync with bzr.dev

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
 
        # 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)
 
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)
63
61
 
64
62
    def test_branch_WorkingTree(self):
65
63
        """Test that the number of uses of working_tree in branch is stable."""
74
72
        # written. Note that this is an exact equality so that when the number
75
73
        # drops, it is not given a buffer but rather this test updated
76
74
        # immediately.
77
 
        self.assertEqual(13, occurences)
 
75
        self.assertEqual(4, occurences)