~bzr-pqm/bzr/bzr.dev

« back to all changes in this revision

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

Use new NoVfsCalls matcher in blackbox tests.

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
25
from bzrlib.transport import memory
25
26
 
26
27
 
239
240
        # become necessary for this use case. Please do not adjust this number
240
241
        # upwards without agreement from bzr's network support maintainers.
241
242
        self.assertLength(16, self.hpss_calls)
 
243
        self.expectFailure("cat still uses VFS calls",
 
244
            self.assertThat, self.hpss_calls, NoVfsCalls)