~bzr-pqm/bzr/bzr.dev

« back to all changes in this revision

Viewing changes to bzrlib/tests/test_parent.py

[merge] up-to-date against bzr.dev

Show diffs side-by-side

added added

removed removed

Lines of Context:
16
16
 
17
17
 
18
18
import os
19
 
from bzrlib.selftest import TestCaseInTempDir
 
19
from bzrlib.tests import TestCaseInTempDir
20
20
from bzrlib.branch import Branch
21
21
from bzrlib.clone import copy_branch
22
22
 
45
45
        os.mkdir('from')
46
46
        branch_from = Branch.initialize('from')
47
47
        file('from/foo', 'wt').write('contents of foo')
48
 
        branch_from.add('foo')
 
48
        branch_from.working_tree().add('foo')
49
49
        branch_from.working_tree().commit('initial commit')
50
50
        
51
51
        os.mkdir('to')