~bzr-pqm/bzr/bzr.dev

« back to all changes in this revision

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

  • Committer: Jelmer Vernooij
  • Date: 2011-12-19 19:15:58 UTC
  • mfrom: (6388 +trunk)
  • mto: This revision was merged to the branch mainline in revision 6404.
  • Revision ID: jelmer@canonical.com-20111219191558-p1k7cvhjq8l6v2gm
Merge bzr.dev.

Show diffs side-by-side

added added

removed removed

Lines of Context:
21
21
import os
22
22
 
23
23
from bzrlib import tests
 
24
from bzrlib.tests.matchers import ContainsNoVfsCalls
 
25
 
24
26
 
25
27
class TestRevno(tests.TestCaseWithTransport):
26
28
 
153
155
        # being too low. If rpc_count increases, more network roundtrips have
154
156
        # become necessary for this use case. Please do not adjust this number
155
157
        # upwards without agreement from bzr's network support maintainers.
 
158
        self.assertThat(self.hpss_calls, ContainsNoVfsCalls)
156
159
        self.assertLength(6, self.hpss_calls)
157
160
 
158
161
    def test_simple_branch_revno_lookup(self):
171
174
        # become necessary for this use case. Please do not adjust this number
172
175
        # upwards without agreement from bzr's network support maintainers.
173
176
        self.assertLength(5, self.hpss_calls)
 
177
        self.assertThat(self.hpss_calls, ContainsNoVfsCalls)