~bzr-pqm/bzr/bzr.dev

« back to all changes in this revision

Viewing changes to bzrlib/tests/blackbox/test_shared_repository.py

  • Committer: Vincent Ladeuil
  • Date: 2012-02-14 17:22:37 UTC
  • mfrom: (6466 +trunk)
  • mto: This revision was merged to the branch mainline in revision 6468.
  • Revision ID: v.ladeuil+lp@free.fr-20120214172237-7dv7er3n4uy8d5m4
Merge trunk

Show diffs side-by-side

added added

removed removed

Lines of Context:
81
81
    def test_branch_tree(self):
82
82
        self.run_bzr("init-repo --trees a")
83
83
        self.run_bzr("init --format=default b")
84
 
        file('b/hello', 'wt').write('bar')
 
84
        with file('b/hello', 'wt') as f: f.write('bar')
85
85
        self.run_bzr("add b/hello")
86
86
        self.run_bzr("commit -m bar b/hello")
87
87
 
121
121
        # being too low. If rpc_count increases, more network roundtrips have
122
122
        # become necessary for this use case. Please do not adjust this number
123
123
        # upwards without agreement from bzr's network support maintainers.
124
 
        self.assertLength(10, self.hpss_calls)
 
124
        self.assertLength(11, self.hpss_calls)
125
125
        self.assertLength(1, self.hpss_connections)
126
126
        self.assertThat(self.hpss_calls, ContainsNoVfsCalls)
127
127