-=[ Mr. Bumblebee ]=-
_Indonesia_
ó
†+Mc @ sš d Z d d l Z d d l Z d d l m Z d d l m Z m Z m Z d d l m
Z
d d l m Z d e f d „ ƒ YZ
d e f d
„ ƒ YZ d S( sA Tests for selection of the right Launchpad service by environmentiÿÿÿÿN( t errors( t InvalidLaunchpadInstancet LaunchpadServicet NotLaunchpadBranch( t FakeResolveFactory( t TestCaset LaunchpadServiceTestsc B s_ e Z d Z d „ Z d „ Z d „ Z d „ Z d „ Z d „ Z d „ Z d „ Z
d „ Z RS(
s3 Test that the correct Launchpad instance is chosen.c C s' t t | ƒ j ƒ | j d d ƒ d S( Nt BZR_LP_XMLRPC_URL( t superR t setUpt overrideEnvt None( t self( ( sL /usr/lib/python2.7/dist-packages/bzrlib/plugins/launchpad/test_lp_service.pyR s c C s t ƒ } | j d | j ƒ d S( Ns$ https://xmlrpc.launchpad.net/bazaar/( R t assertEqualt service_url( R t service( ( sL /usr/lib/python2.7/dist-packages/bzrlib/plugins/launchpad/test_lp_service.pyt test_default_service% s c C sA d t _ z t ƒ } | j d | j ƒ Wd t j d t _ Xd S( Ns http://example.com/t
production( R t DEFAULT_SERVICE_URLR
R t LAUNCHPAD_INSTANCE( R R ( ( sL /usr/lib/python2.7/dist-packages/bzrlib/plugins/launchpad/test_lp_service.pyt test_alter_default_service_url* s c C s&