~bzr-pqm/bzr/bzr.dev

« back to all changes in this revision

Viewing changes to bzrlib/tests/blackbox/test_checkout.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:
27
27
from bzrlib.tests import (
28
28
    TestCaseWithTransport,
29
29
    )
30
 
from bzrlib.tests.matchers import NoVfsCalls
 
30
from bzrlib.tests.matchers import ContainsNoVfsCalls
31
31
from bzrlib.tests.features import (
32
32
    HardlinkFeature,
33
33
    )
188
188
        # upwards without agreement from bzr's network support maintainers.
189
189
        self.assertLength(17, self.hpss_calls)
190
190
        self.expectFailure("checkouts require VFS access",
191
 
            self.assertThat, self.hpss_calls, NoVfsCalls)
 
191
            self.assertThat, self.hpss_calls, ContainsNoVfsCalls)
192
192
 
193
193
    def test_lightweight_checkout(self):
194
194
        self.setup_smart_server_with_call_log()
208
208
                "Incorrect length: wanted between 34 and 48, got %d for %r" % (
209
209
                    len(self.hpss_calls), self.hpss_calls))
210
210
        self.expectFailure("lightweight checkouts require VFS calls",
211
 
            self.assertThat, self.hpss_calls, NoVfsCalls)
 
211
            self.assertThat, self.hpss_calls, ContainsNoVfsCalls)