~bzr-pqm/bzr/bzr.dev

« back to all changes in this revision

Viewing changes to bzrlib/tests/per_repository_vf/test_fetch.py

  • Committer: Tarmac
  • Author(s): Vincent Ladeuil
  • Date: 2017-01-30 14:42:05 UTC
  • mfrom: (6620.1.1 trunk)
  • Revision ID: tarmac-20170130144205-r8fh2xpmiuxyozpv
Merge  2.7 into trunk including fix for bug #1657238 [r=vila]

Show diffs side-by-side

added added

removed removed

Lines of Context:
17
17
"""Tests for fetch between repositories of the same type."""
18
18
 
19
19
from bzrlib import (
20
 
    graph,
 
20
    vf_search,
21
21
    )
22
22
from bzrlib.tests.per_repository_vf import (
23
23
    TestCaseWithRepository,
49
49
        self.addCleanup(b.unlock)
50
50
        repo = b.repository
51
51
        source = repo._get_source(repo._format)
52
 
        search = graph.PendingAncestryResult(['tip'], repo)
 
52
        search = vf_search.PendingAncestryResult(['tip'], repo)
53
53
        stream = source.get_stream(search)
54
54
        for substream_type, substream in stream:
55
55
            for record in substream: