~bzr-pqm/bzr/bzr.dev

« back to all changes in this revision

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

  • Committer: Jelmer Vernooij
  • Date: 2012-04-02 01:44:26 UTC
  • mfrom: (6518 +trunk)
  • mto: This revision was merged to the branch mainline in revision 6519.
  • Revision ID: jelmer@samba.org-20120402014426-0o5qtysohyl006b2
merge bzr.dev.

Show diffs side-by-side

added added

removed removed

Lines of Context:
23
23
    gpg,
24
24
    tests,
25
25
    )
26
 
from bzrlib.bzrdir import BzrDir
 
26
from bzrlib.controldir import ControlDir
27
27
from bzrlib.testament import Testament
28
28
 
29
29
 
39
39
        self.overrideAttr(gpg, 'GPGStrategy', gpg.LoopbackGPGStrategy)
40
40
 
41
41
    def setup_tree(self):
42
 
        wt = BzrDir.create_standalone_workingtree('.')
 
42
        wt = ControlDir.create_standalone_workingtree('.')
43
43
        wt.commit("base A", allow_pointless=True, rev_id='A')
44
44
        wt.commit("base B", allow_pointless=True, rev_id='B')
45
45
        wt.commit("base C", allow_pointless=True, rev_id='C')
89
89
 
90
90
    def test_resign_directory(self):
91
91
        """Test --directory option"""
92
 
        wt = BzrDir.create_standalone_workingtree('a')
 
92
        wt = ControlDir.create_standalone_workingtree('a')
93
93
        wt.commit("base A", allow_pointless=True, rev_id='A')
94
94
        wt.commit("base B", allow_pointless=True, rev_id='B')
95
95
        wt.commit("base C", allow_pointless=True, rev_id='C')