~bzr-pqm/bzr/bzr.dev

« back to all changes in this revision

Viewing changes to bzrlib/tests/test_parent.py

  • Committer: Robert Collins
  • Date: 2006-01-02 22:37:32 UTC
  • mfrom: (1185.50.33 bzr-jam-integration)
  • Revision ID: robertc@robertcollins.net-20060102223732-d5221b37ff0f7888
Merge in John Meinels integration branch.

Show diffs side-by-side

added added

removed removed

Lines of Context:
19
19
from bzrlib.tests import TestCaseInTempDir
20
20
from bzrlib.branch import Branch
21
21
from bzrlib.clone import copy_branch
 
22
from bzrlib.osutils import abspath, realpath
22
23
 
23
24
 
24
25
"""Tests for Branch parent URL"""
52
53
        copy_branch(branch_from, 'to', None)
53
54
 
54
55
        branch_to = Branch.open('to')
55
 
        abspath = os.path.abspath('from')
56
 
        self.assertEquals(branch_to.get_parent(), abspath)
 
56
        abs = abspath('from')
 
57
        self.assertEquals(branch_to.get_parent(), abs)
57
58
        
58
59