/usr/lib/python2.6/site-packages/openstackclient/tests/identity/v2_0
Edit: /usr/lib/python2.6/site-packages/openstackclient/tests/identity/v2_0/test_catalog.pyc (6649B)
Ñò
;vVc @ su d d k Z d d k l Z d d k l Z d e i f d „ ƒ YZ d e f d „ ƒ YZ d e f d „ ƒ YZ d S(
iÿÿÿÿN( t catalog( t utilst TestCatalogc B sq e Z h d d 6d d 6d d 6h d d 6d d 6d
d 6d d
6h d d 6d d 6d d 6d d
6g d 6Z d „ Z RS( t
qwertyuiopt idt computet typet supernovat namet onet regions https://public.one.example.comt publicURLs https://internal.one.example.comt internalURLs https://admin.one.example.comt adminURLt twos https://public.two.example.coms https://internal.two.example.coms https://admin.two.example.comt endpointsc C st t t | ƒ i ƒ t i ƒ | _ | i g | i i i _ t i ƒ | _
| i
| i i _
| i | i
i i _ d S( N( t superR t setUpt mockt MagicMockt sc_mockt fake_servicet service_catalogt get_datat return_valuet auth_mockt appt client_managert sessiont autht get_auth_ref( t self( ( s` /tmp/pip-build-cD3xZi/python-openstackclient/openstackclient/tests/identity/v2_0/test_catalog.pyR * s ( t __name__t
__module__R R ( ( ( s` /tmp/pip-build-cD3xZi/python-openstackclient/openstackclient/tests/identity/v2_0/test_catalog.pyR s t TestCatalogListc B s# e Z d „ Z d „ Z d „ Z RS( c C s/ t t | ƒ i ƒ t i | i d ƒ | _ d S( N( R R" R R t ListCatalogR t Nonet cmd( R ( ( s` /tmp/pip-build-cD3xZi/python-openstackclient/openstackclient/tests/identity/v2_0/test_catalog.pyR : s c C s… g } g } | i | i | | ƒ } | i i | ƒ \ } } | i i i i ƒ d } | i | | ƒ d } | i | t | ƒ ƒ d S(
Nt Namet Typet EndpointsR R s one
publicURL: https://public.one.example.com
internalURL: https://internal.one.example.com
adminURL: https://admin.one.example.com
two
publicURL: https://public.two.example.com
internalURL: https://internal.two.example.com
adminURL: https://admin.two.example.com
( s NameR' R( ( s supernovas computes one
publicURL: https://public.one.example.com
internalURL: https://internal.one.example.com
adminURL: https://admin.one.example.com
two
publicURL: https://public.two.example.com
internalURL: https://internal.two.example.com
adminURL: https://admin.two.example.com
( ( s supernovas computes one
publicURL: https://public.one.example.com
internalURL: https://internal.one.example.com
adminURL: https://admin.one.example.com
two
publicURL: https://public.two.example.com
internalURL: https://internal.two.example.com
adminURL: https://admin.two.example.com
( t check_parserR% t take_actionR R R t assert_called_witht assertEqualt tuple( R t arglistt
verifylistt parsed_argst columnst datat collistt datalist( ( s` /tmp/pip-build-cD3xZi/python-openstackclient/openstackclient/tests/identity/v2_0/test_catalog.pyt test_catalog_list@ s c C så h d d 6d d 6d d 6h d d 6d d
6h d d 6d d
6d
d 6g d 6} | g | i i i _ g } g } | i | i | | ƒ } | i i | ƒ \ } } | i i i i ƒ d } | i | | ƒ d } | i | t | ƒ ƒ d S( NR R R R R R R R
s https://public.one.example.comR R s https://public.two.example.coms https://internal.two.example.comR R R&