~bzr-pqm/bzr/bzr.dev

« back to all changes in this revision

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

(jelmer) Check number of connections opened during various blackbox tests.
 (Jelmer Vernooij)

Show diffs side-by-side

added added

removed removed

Lines of Context:
1444
1444
        # become necessary for this use case. Please do not adjust this number
1445
1445
        # upwards without agreement from bzr's network support maintainers.
1446
1446
        self.assertLength(12, self.hpss_calls)
 
1447
        self.assertLength(1, self.hpss_connections)
1447
1448
        self.assertThat(self.hpss_calls, ContainsNoVfsCalls)
1448
1449
 
1449
1450
    def test_verbose_branch_info(self):
1460
1461
        # become necessary for this use case. Please do not adjust this number
1461
1462
        # upwards without agreement from bzr's network support maintainers.
1462
1463
        self.assertLength(16, self.hpss_calls)
 
1464
        self.assertLength(1, self.hpss_connections)
1463
1465
        self.assertThat(self.hpss_calls, ContainsNoVfsCalls)