~bzr-pqm/bzr/bzr.dev

« back to all changes in this revision

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

  • Committer: Patch Queue Manager
  • Date: 2011-12-14 12:53:59 UTC
  • mfrom: (6352.2.5 hpss-no-vfs)
  • Revision ID: pqm@pqm.ubuntu.com-20111214125359-l2d2nv046utd1vfz
(jelmer) Add ContainsNoVfsCalls matcher. (Jelmer Vernooij)

Show diffs side-by-side

added added

removed removed

Lines of Context:
31
31
    upgrade,
32
32
    urlutils,
33
33
    )
 
34
from bzrlib.tests.matchers import ContainsNoVfsCalls
34
35
from bzrlib.transport import memory
35
36
 
36
37
 
1443
1444
        # become necessary for this use case. Please do not adjust this number
1444
1445
        # upwards without agreement from bzr's network support maintainers.
1445
1446
        self.assertLength(12, self.hpss_calls)
 
1447
        self.assertThat(self.hpss_calls, ContainsNoVfsCalls)
1446
1448
 
1447
1449
    def test_verbose_branch_info(self):
1448
1450
        self.setup_smart_server_with_call_log()
1458
1460
        # become necessary for this use case. Please do not adjust this number
1459
1461
        # upwards without agreement from bzr's network support maintainers.
1460
1462
        self.assertLength(16, self.hpss_calls)
 
1463
        self.assertThat(self.hpss_calls, ContainsNoVfsCalls)