~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-14 12:15:44 UTC
  • mto: This revision was merged to the branch mainline in revision 6365.
  • Revision ID: jelmer@samba.org-20111214121544-v07cbvmi30re6q7w
s/NoVfsCalls/ContainsNoVfsCalls/.

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 NoVfsCalls
 
24
from bzrlib.tests.matchers import ContainsNoVfsCalls
25
25
 
26
26
 
27
27
class TestRevno(tests.TestCaseWithTransport):
155
155
        # being too low. If rpc_count increases, more network roundtrips have
156
156
        # become necessary for this use case. Please do not adjust this number
157
157
        # upwards without agreement from bzr's network support maintainers.
158
 
        self.assertThat(self.hpss_calls, NoVfsCalls)
 
158
        self.assertThat(self.hpss_calls, ContainsNoVfsCalls)
159
159
        self.assertLength(6, self.hpss_calls)
160
160
 
161
161
    def test_simple_branch_revno_lookup(self):
174
174
        # become necessary for this use case. Please do not adjust this number
175
175
        # upwards without agreement from bzr's network support maintainers.
176
176
        self.assertLength(5, self.hpss_calls)
177
 
        self.assertThat(self.hpss_calls, NoVfsCalls)
 
177
        self.assertThat(self.hpss_calls, ContainsNoVfsCalls)