~bzr-pqm/bzr/bzr.dev

« back to all changes in this revision

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

  • Committer: Jelmer Vernooij
  • Date: 2011-12-14 20:21:52 UTC
  • mto: This revision was merged to the branch mainline in revision 6407.
  • Revision ID: jelmer@samba.org-20111214202152-dbyuyx6qk3gy1p3q
Test connection count calls for most blackbox commands.

Show diffs side-by-side

added added

removed removed

Lines of Context:
1071
1071
        # become necessary for this use case. Please do not adjust this number
1072
1072
        # upwards without agreement from bzr's network support maintainers.
1073
1073
        self.assertThat(self.hpss_calls, ContainsNoVfsCalls)
 
1074
        self.assertLength(1, self.hpss_connections)
1074
1075
        self.assertLength(10, self.hpss_calls)
1075
1076
 
1076
1077
    def test_verbose_log(self):
1087
1088
        # become necessary for this use case. Please do not adjust this number
1088
1089
        # upwards without agreement from bzr's network support maintainers.
1089
1090
        self.assertLength(19, self.hpss_calls)
 
1091
        self.assertLength(1, self.hpss_connections)
1090
1092
        self.expectFailure("verbose log accesses inventories, which require VFS",
1091
1093
            self.assertThat, self.hpss_calls, ContainsNoVfsCalls)
1092
1094
 
1104
1106
        # become necessary for this use case. Please do not adjust this number
1105
1107
        # upwards without agreement from bzr's network support maintainers.
1106
1108
        self.assertLength(21, self.hpss_calls)
 
1109
        self.assertLength(1, self.hpss_connections)
1107
1110
        self.expectFailure("per-file graph access requires VFS",
1108
1111
            self.assertThat, self.hpss_calls, ContainsNoVfsCalls)