~ubuntu-branches/ubuntu/lucid/bzr/lucid-proposed

« back to all changes in this revision

Viewing changes to bzrlib/tests/test_source.py

  • Committer: Bazaar Package Importer
  • Author(s): Jeff Bailey
  • Date: 2006-03-20 08:31:00 UTC
  • mfrom: (1.1.2 upstream)
  • mto: This revision was merged to the branch mainline in revision 4.
  • Revision ID: james.westby@ubuntu.com-20060320083100-ovdi2ssuw0epcx8s
Tags: 0.8~200603200831-0ubuntu1
* Snapshot uploaded to Dapper at Martin Pool's request.

* Disable testsuite for upload.  Fakeroot and the testsuite don't
  play along.

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(2, 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(6, occurences)
 
75
        self.assertEqual(4, occurences)