~bzr-pqm/bzr/bzr.dev

« back to all changes in this revision

Viewing changes to bzrlib/tests/test_parent.py

Merge from integration.

Show diffs side-by-side

added added

removed removed

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