~bzr-pqm/bzr/bzr.dev

« back to all changes in this revision

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

Merge from integration

Show diffs side-by-side

added added

removed removed

Lines of Context:
22
22
import os
23
23
 
24
24
import bzrlib.gpg
 
25
from bzrlib.bzrdir import BzrDir
25
26
from bzrlib.testament import Testament
26
27
from bzrlib.tests import TestCaseInTempDir
27
 
from bzrlib.workingtree import WorkingTree
28
28
 
29
29
 
30
30
class ReSign(TestCaseInTempDir):
46
46
        bzrlib.gpg.GPGStrategy = self._oldstrategy
47
47
 
48
48
    def setup_tree(self):
49
 
        wt = WorkingTree.create_standalone('.')
 
49
        wt = BzrDir.create_standalone_workingtree('.')
50
50
        wt.commit("base A", allow_pointless=True, rev_id='A')
51
51
        wt.commit("base B", allow_pointless=True, rev_id='B')
52
52
        wt.commit("base C", allow_pointless=True, rev_id='C')