/brz/remove-bazaar

To get this branch, use:
bzr branch http://gegoxaren.bato24.eu/bzr/brz/remove-bazaar

« back to all changes in this revision

Viewing changes to breezy/plugins/bisect/tests.py

  • Committer: Breezy landing bot
  • Author(s): Jelmer Vernooij
  • Date: 2017-06-07 18:37:11 UTC
  • mfrom: (6667.2.1 trunk)
  • Revision ID: breezy.the.bot@gmail.com-20170607183711-oz0x9xqqh9x8jgas
Use ControlDir rather than BzrDir, remove unused imports.

Merged from https://code.launchpad.net/~jelmer/brz/small-fixes/+merge/325196

Show diffs side-by-side

added added

removed removed

Lines of Context:
25
25
import shutil
26
26
 
27
27
import breezy
28
 
from ...bzrdir import BzrDir
 
28
from ...controldir import ControlDir
29
29
from .. import bisect
30
30
from . import cmds
31
31
from ...tests import (
75
75
                                                     'test_file_append')))
76
76
        self.tree.commit(message = "add test files")
77
77
 
78
 
        BzrDir.open(".").sprout("../temp-clone")
79
 
        clone_bzrdir = BzrDir.open("../temp-clone")
 
78
        ControlDir.open(".").sprout("../temp-clone")
 
79
        clone_bzrdir = ControlDir.open("../temp-clone")
80
80
        clone_tree = clone_bzrdir.open_workingtree()
81
81
        for content in ["one dot one", "one dot two", "one dot three"]:
82
82
            test_file = open("../temp-clone/test_file", "w")