19
20
from bzrlib.tests import TestCaseInTempDir
24
24
"""Tests for Branch parent URL"""
27
27
class TestParent(TestCaseInTempDir):
28
29
def test_no_default_parent(self):
29
30
"""Branches should have no parent by default"""
30
31
b = Branch.initialize(u'.')
31
32
self.assertEquals(b.get_parent(), None)
34
34
def test_set_get_parent(self):
35
35
"""Set and then re-get the parent"""
36
36
b = Branch.initialize(u'.')