44
44
def test_non_launchpad_branch(self):
45
45
branch = self.make_branch('non-lp')
46
46
url = 'http://example.com/non-lp'
47
48
branch.set_public_branch(url)
49
51
['bzr: ERROR: %s is not registered on Launchpad.' % url],
50
52
self.run_open('non-lp', retcode=3))
52
54
def test_launchpad_branch_with_public_location(self):
53
55
branch = self.make_branch('lp')
54
57
branch.set_public_branch(
55
58
'bzr+ssh://bazaar.launchpad.net/~foo/bar/baz')
57
61
['Opening https://code.launchpad.net/~foo/bar/baz in web '