~bzr-pqm/bzr/bzr.dev

« back to all changes in this revision

Viewing changes to bzrlib/selftest/test_parent.py

  • Committer: Martin Pool
  • Date: 2005-08-30 05:35:11 UTC
  • Revision ID: mbp@sourcefrog.net-20050830053511-71f6b3ba8ca93827
- add new Branch.set_parent and tests

Show diffs side-by-side

added added

removed removed

Lines of Context:
31
31
    def test_set_get_parent(self):
32
32
        """Set and then re-get the parent"""
33
33
        b = Branch('.', init=True)
 
34
        url = 'http://bazaar-ng.org/bzr/bzr.dev'
 
35
        b.set_parent(url)
 
36
        self.assertEquals(b.get_parent(), url)
 
37