/usr/lib/python2.6/site-packages/cinderclient/tests/unit/v1
Edit: /usr/lib/python2.6/site-packages/cinderclient/tests/unit/v1/test_volumes.pyc (7080B)
Ñò
=vVc @ sI d d k l Z d d k l Z e i ƒ Z d e i f d „ ƒ YZ d S( iÿÿÿÿ( t utils( t fakest VolumesTestc B s³ e Z d „ Z d „ Z d „ Z d „ Z d „ Z d „ Z d „ Z d „ Z d „ Z
d „ Z d
„ Z d „ Z
d „ Z d
„ Z d „ Z d „ Z d „ Z d „ Z d „ Z RS( c C sq t i i ƒ d } | i ƒ t i d d ƒ t i i d ƒ t i d d ƒ t i i | ƒ t i d d ƒ d S( Ni t DELETEs
/volumes/1234t 1234( t cst volumest listt deletet
assert_called( t selft v( ( sT /tmp/pip-build-cD3xZi/python-cinderclient/cinderclient/tests/unit/v1/test_volumes.pyt test_delete_volume s
c C s$ t i i d ƒ t i d d ƒ d S( Ni t POSTs /volumes( R R t createR ( R
( ( sT /tmp/pip-build-cD3xZi/python-cinderclient/cinderclient/tests/unit/v1/test_volumes.pyt test_create_volume s c C sB t i i d ƒ } t i i | d d d d ƒt i d d ƒ d S( NR i s /dev/vdct modet rwR
s /volumes/1234/action( R R t gett attachR ( R
R ( ( sT /tmp/pip-build-cD3xZi/python-cinderclient/cinderclient/tests/unit/v1/test_volumes.pyt test_attach$ s c C sH t i i d ƒ } t i i | d d d d d d ƒt i d d ƒ d S( NR t host_namet testR R R
s /volumes/1234/action( R R R R t NoneR ( R
R ( ( sT /tmp/pip-build-cD3xZi/python-cinderclient/cinderclient/tests/unit/v1/test_volumes.pyt test_attach_to_host) s "c C s6 t i i d ƒ } t i i | ƒ t i d d ƒ d S( NR R
s /volumes/1234/action( R R R t detachR ( R
R ( ( sT /tmp/pip-build-cD3xZi/python-cinderclient/cinderclient/tests/unit/v1/test_volumes.pyt test_detach. s c C s6 t i i d ƒ } t i i | ƒ t i d d ƒ d S( NR R
s /volumes/1234/action( R R R t reserveR ( R
R ( ( sT /tmp/pip-build-cD3xZi/python-cinderclient/cinderclient/tests/unit/v1/test_volumes.pyt test_reserve3 s c C s6 t i i d ƒ } t i i | ƒ t i d d ƒ d S( NR R
s /volumes/1234/action( R R R t unreserveR ( R
R ( ( sT /tmp/pip-build-cD3xZi/python-cinderclient/cinderclient/tests/unit/v1/test_volumes.pyt test_unreserve8 s c C s6 t i i d ƒ } t i i | ƒ t i d d ƒ d S( NR R
s /volumes/1234/action( R R R t begin_detachingR ( R
R ( ( sT /tmp/pip-build-cD3xZi/python-cinderclient/cinderclient/tests/unit/v1/test_volumes.pyt test_begin_detaching= s c C s6 t i i d ƒ } t i i | ƒ t i d d ƒ d S( NR R
s /volumes/1234/action( R R R t roll_detachingR ( R
R ( ( sT /tmp/pip-build-cD3xZi/python-cinderclient/cinderclient/tests/unit/v1/test_volumes.pyt test_roll_detachingB s c C s9 t i i d ƒ } t i i | h ƒ t i d d ƒ d S( NR R
s /volumes/1234/action( R R R t initialize_connectionR ( R
R ( ( sT /tmp/pip-build-cD3xZi/python-cinderclient/cinderclient/tests/unit/v1/test_volumes.pyt test_initialize_connectionG s c C s9 t i i d ƒ } t i i | h ƒ t i d d ƒ d S( NR R
s /volumes/1234/action( R R R t terminate_connectionR ( R
R ( ( sT /tmp/pip-build-cD3xZi/python-cinderclient/cinderclient/tests/unit/v1/test_volumes.pyt test_terminate_connectionL s c C s? t i i d h d d 6ƒ t i d d h h d d 6d 6ƒ d S( NiÒ t v1t k1R
s /volumes/1234/metadatat metadata( R R t set_metadataR ( R
( ( sT /tmp/pip-build-cD3xZi/python-cinderclient/cinderclient/tests/unit/v1/test_volumes.pyt test_set_metadataQ s c C s0 d g } t i i d | ƒ t i d d ƒ d S( Nt key1iÒ R s /volumes/1234/metadata/key1( R R t delete_metadataR ( R
t keys( ( sT /tmp/pip-build-cD3xZi/python-cinderclient/cinderclient/tests/unit/v1/test_volumes.pyt test_delete_metadataV s c C s9 t i i d ƒ } t i i | d ƒ t i d d ƒ d S( NR i R
s /volumes/1234/action( R R R t extendR ( R
R ( ( sT /tmp/pip-build-cD3xZi/python-cinderclient/cinderclient/tests/unit/v1/test_volumes.pyt test_extend[ s c C s$ t i i d ƒ t i d d ƒ d S( NR t GETs /volumes/1234/encryption( R R t get_encryption_metadataR ( R
( ( sT /tmp/pip-build-cD3xZi/python-cinderclient/cinderclient/tests/unit/v1/test_volumes.pyt test_get_encryption_metadata` s c C s<