~bzr-pqm/bzr/bzr.dev

« back to all changes in this revision

Viewing changes to bzrlib/plugins/launchpad/test_lp_service.py

Merge fix for bug #583667 from 2.1

Show diffs side-by-side

added added

removed removed

Lines of Context:
54
54
        self.assertEqual('https://xmlrpc.staging.launchpad.net/bazaar/',
55
55
                         service.service_url)
56
56
 
57
 
    def test_edge_service(self):
58
 
        service = LaunchpadService(lp_instance='edge')
59
 
        self.assertEqual('https://xmlrpc.edge.launchpad.net/bazaar/',
60
 
                         service.service_url)
61
 
 
62
57
    def test_dev_service(self):
63
58
        service = LaunchpadService(lp_instance='dev')
64
59
        self.assertEqual('https://xmlrpc.launchpad.dev/bazaar/',
171
166
        self.assertEqual(
172
167
            'https://code.staging.launchpad.net/~foo/bar/baz', web_url)
173
168
 
174
 
    def test_edge_url(self):
175
 
        service = LaunchpadService(lp_instance='edge')
176
 
        web_url = service.get_web_url_from_branch_url(
177
 
            'bzr+ssh://bazaar.launchpad.net/~foo/bar/baz')
178
 
        self.assertEqual(
179
 
            'https://code.edge.launchpad.net/~foo/bar/baz', web_url)
180
 
 
181
169
    def test_dev_url(self):
182
170
        service = LaunchpadService(lp_instance='dev')
183
171
        web_url = service.get_web_url_from_branch_url(