~bzr-pqm/bzr/bzr.dev

« back to all changes in this revision

Viewing changes to bzrlib/tests/per_pack_repository.py

  • Committer: Canonical.com Patch Queue Manager
  • Date: 2009-08-14 05:49:27 UTC
  • mfrom: (4476.3.86 inventory-delta)
  • Revision ID: pqm@pqm.ubuntu.com-20090814054927-k0k18dn46ax4b91f
(andrew) Add inventory-delta streaming for cross-format fetch.

Show diffs side-by-side

added added

removed removed

Lines of Context:
1051
1051
        tree.branch.push(remote_branch)
1052
1052
        autopack_calls = len([call for call in self.hpss_calls if call ==
1053
1053
            'PackRepository.autopack'])
1054
 
        streaming_calls = len([call for call in self.hpss_calls if call ==
1055
 
            'Repository.insert_stream'])
 
1054
        streaming_calls = len([call for call in self.hpss_calls if call in
 
1055
            ('Repository.insert_stream', 'Repository.insert_stream_1.19')])
1056
1056
        if autopack_calls:
1057
1057
            # Non streaming server
1058
1058
            self.assertEqual(1, autopack_calls)