~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-01-31 13:36:59 UTC
  • mfrom: (6613.1.5 1538480-match-hostname)
  • Revision ID: pqm@pqm.ubuntu.com-20160131133659-ouy92ee2wlv9xz8m
(vila) Use ssl.match_hostname instead of our own. (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 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())