~bzr-pqm/bzr/bzr.dev

« back to all changes in this revision

Viewing changes to bzrlib/tests/test_source.py

Move working tree initialisation out from  Branch.initialize, deprecated Branch.initialize to Branch.create.

Show diffs side-by-side

added added

removed removed

Lines of Context:
59
59
        # before this test was written. Note that this is an exact equality
60
60
        # so that when the number drops, it is not given a buffer but rather
61
61
        # this test updated immediately.
62
 
        self.assertEqual(2, occurences)
 
62
        self.assertEqual(1, occurences)
63
63
 
64
64
    def test_branch_WorkingTree(self):
65
65
        """Test that the number of uses of working_tree in branch is stable."""
74
74
        # written. Note that this is an exact equality so that when the number
75
75
        # drops, it is not given a buffer but rather this test updated
76
76
        # immediately.
77
 
        self.assertEqual(6, occurences)
 
77
        self.assertEqual(9, occurences)