~bzr-pqm/bzr/bzr.dev

« back to all changes in this revision

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

  • Committer: Martin
  • Date: 2010-05-20 18:23:10 UTC
  • mto: This revision was merged to the branch mainline in revision 5244.
  • Revision ID: gzlist@googlemail.com-20100520182310-1amew76s8x26ww6z
Use the production server in the launchpad plugin rather than edge

Show diffs side-by-side

added added

removed removed

Lines of Context:
97
97
        web_url = service.get_web_url_from_branch_url(
98
98
            'bzr+ssh://bazaar.launchpad.net/~foo/bar/baz')
99
99
        self.assertEqual(
100
 
            'https://code.edge.launchpad.net/~foo/bar/baz', web_url)
 
100
            'https://code.launchpad.net/~foo/bar/baz', web_url)
101
101
 
102
102
    def test_product_bzr_ssh_url(self):
103
103
        service = LaunchpadService(lp_instance='production')
152
152
            dict(urls=['http://bazaar.launchpad.net/~foo/bar/baz']))
153
153
        web_url = service.get_web_url_from_branch_url('lp:foo', factory)
154
154
        self.assertEqual(
155
 
            'https://code.edge.launchpad.net/~foo/bar/baz', web_url)
 
155
            'https://code.launchpad.net/~foo/bar/baz', web_url)
156
156
 
157
157
    def test_lp_branch_fault(self):
158
158
        service = LaunchpadService()