~bzr-pqm/bzr/bzr.dev

« back to all changes in this revision

Viewing changes to bzrlib/tests/branch_implementations/test_parent.py

  • Committer: abentley
  • Date: 2006-04-20 23:47:53 UTC
  • mfrom: (1681 +trunk)
  • mto: This revision was merged to the branch mainline in revision 1683.
  • Revision ID: abentley@lappy-20060420234753-6a6874b76f09f86d
Merge bzr.dev

Show diffs side-by-side

added added

removed removed

Lines of Context:
33
33
        self.assertEquals(b.get_parent(), None)
34
34
        
35
35
    def test_set_get_parent(self):
36
 
        """Set and then re-get the parent"""
 
36
        """Set, re-get and reset the parent"""
37
37
        b = self.make_branch('.')
38
38
        url = 'http://bazaar-ng.org/bzr/bzr.dev'
39
39
        b.set_parent(url)
40
40
        self.assertEquals(b.get_parent(), url)
 
41
        b.set_parent(None)
 
42
        self.assertEquals(b.get_parent(), None)