~bzr-pqm/bzr/bzr.dev

« back to all changes in this revision

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

Use new NoVfsCalls matcher in blackbox tests.

Show diffs side-by-side

added added

removed removed

Lines of Context:
36
36
    features,
37
37
    )
38
38
from bzrlib.tests import TestCaseWithTransport
 
39
from bzrlib.tests.matchers import NoVfsCalls
39
40
 
40
41
 
41
42
class TestCommit(TestCaseWithTransport):
874
875
        # become necessary for this use case. Please do not adjust this number
875
876
        # upwards without agreement from bzr's network support maintainers.
876
877
        self.assertLength(220, self.hpss_calls)
 
878
        self.expectFailure("commit still uses VFS calls",
 
879
            self.assertThat, self.hpss_calls, NoVfsCalls)