~bzr-pqm/bzr/bzr.dev

« back to all changes in this revision

Viewing changes to bzrlib/tests/test_source.py

  • Committer: John Arbash Meinel
  • Date: 2006-03-08 14:31:23 UTC
  • mfrom: (1598 +trunk)
  • mto: (1685.1.1 bzr-encoding)
  • mto: This revision was merged to the branch mainline in revision 1752.
  • Revision ID: john@arbash-meinel.com-20060308143123-448308b0db4de410
[merge] bzr.dev 1573, lots of updates

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)