~bzr-pqm/bzr/bzr.dev

« back to all changes in this revision

Viewing changes to bzrlib/tests/test_parent.py

Merged mailine

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)
57
 
        
58
 
 
 
56
        self.assertEquals(branch_to.get_parent(), branch_from.base)