~bzr-pqm/bzr/bzr.dev

« back to all changes in this revision

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

  • Committer: Patch Queue Manager
  • Date: 2016-02-01 19:56:05 UTC
  • mfrom: (6615.1.1 trunk)
  • Revision ID: pqm@pqm.ubuntu.com-20160201195605-o7rl92wf6uyum3fk
(vila) Open trunk again as 2.8b1 (Vincent Ladeuil)

Show diffs side-by-side

added added

removed removed

Lines of Context:
1
 
# Copyright (C) 2005, 2006, 2007, 2009, 2010 Canonical Ltd
 
1
# Copyright (C) 2005, 2006, 2007, 2009, 2010, 2011, 2016 Canonical Ltd
2
2
#
3
3
# This program is free software; you can redistribute it and/or modify
4
4
# it under the terms of the GNU General Public License as published by
40
40
    def test_set_get_parent(self):
41
41
        """Set, re-get and reset the parent"""
42
42
        b = self.make_branch('subdir')
43
 
        url = 'http://bazaar-vcs.org/bzr/bzr.dev'
 
43
        url = 'http://example.com/bzr/bzr.dev'
44
44
        b.set_parent(url)
45
45
        self.assertEqual(url, b.get_parent())
46
46
        self.assertEqual(url, b._get_parent_location())
104
104
        if base[0] != 'C':
105
105
            other = 'file:///C:/path'
106
106
        b.set_parent(other)
107
 
        self.assertEquals(other, b._get_parent_location())
 
107
        self.assertEqual(other, b._get_parent_location())