~bzr-pqm/bzr/bzr.dev

« back to all changes in this revision

Viewing changes to bzrlib/tests/test_parent.py

Merge from mbp.

Show diffs side-by-side

added added

removed removed

Lines of Context:
27
27
class TestParent(TestCaseInTempDir):
28
28
    def test_no_default_parent(self):
29
29
        """Branches should have no parent by default"""
30
 
        b = Branch.initialize('.')
 
30
        b = Branch.initialize(u'.')
31
31
        self.assertEquals(b.get_parent(), None)
32
32
        
33
33
    
34
34
    def test_set_get_parent(self):
35
35
        """Set and then re-get the parent"""
36
 
        b = Branch.initialize('.')
 
36
        b = Branch.initialize(u'.')
37
37
        url = 'http://bazaar-ng.org/bzr/bzr.dev'
38
38
        b.set_parent(url)
39
39
        self.assertEquals(b.get_parent(), url)