~bzr-pqm/bzr/bzr.dev

« back to all changes in this revision

Viewing changes to bzrlib/tests/test_parent.py

  • Committer: Robert Collins
  • Date: 2005-11-28 05:13:41 UTC
  • mfrom: (1185.33.54 merge-recovered)
  • Revision ID: robertc@robertcollins.net-20051128051341-059936f2f29a12c8
Merge from Martin. Adjust check to work with HTTP again.

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')