/usr/lib/python2.6/site-packages/openstackclient/tests/api
Edit: /usr/lib/python2.6/site-packages/openstackclient/tests/api/test_image_v1.pyc (3153B)
Ńň
;vVc @ s
d Z d d k l Z d d k l Z d d k l Z d d k l Z d Z d Z
d e i f d YZ d
e f d YZ
d S(
s Image v1 API Library Testsi˙˙˙˙( t fixture( t session( t image_v1( t utilst xyzpdqs http://gopher.comt TestImageAPIv1c B s e Z d Z RS( c C sV t t | i t i } t i d | d t | _ | i t
i | _ d S( NR t endpoint(
t superR t setUpR t SessionR t APIv1t FAKE_URLt apit
useFixtureR t Fixturet
requests_mock( t selft sess( ( sW /tmp/pip-build-cD3xZi/python-openstackclient/openstackclient/tests/api/test_image_v1.pyR s ( t __name__t
__module__R ( ( ( sW /tmp/pip-build-cD3xZi/python-openstackclient/openstackclient/tests/api/test_image_v1.pyR s t TestImagec B s˝ e Z h d d 6d d 6e d 6e d 6Z h d d 6d d 6e d 6e d 6Z h d d 6d d 6e d 6e d 6Z h d
d 6d d 6e d 6e d 6Z e e e e g Z d Z d
Z
d Z RS( t 1t idt pub1t namet is_publict protectedt 2s pub2-noprott 3t priv3t 4s priv4-noprotc C sS | i i d t d d h | i d 6d d | i i } | i | i | d S( Nt GETs
/v1/imagest jsont imagest status_codeiČ ( R t register_uriR t LIST_IMAGE_RESPR t
image_listt assertEqual( R t ret( ( sW /tmp/pip-build-cD3xZi/python-openstackclient/openstackclient/tests/api/test_image_v1.pyt test_image_list_no_optionsF s
c C sb | i i d t d d h | i d 6d d | i i d t } | i | i | i g | d S( NR s /v1/images/detailR R! R" iČ t public(
R R# R R$ R R% t TrueR&