/usr/lib/python2.6/site-packages/openstackclient/tests/volume/v1
Edit: /usr/lib/python2.6/site-packages/openstackclient/tests/volume/v1/test_qos_specs.pyc (13188B)
Ñò
;vVc @ s d d k Z d d k l Z d d k l 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 e
f d „ ƒ YZ
d
e
f d „ ƒ YZ d e
f d „ ƒ YZ d e
f d „ ƒ YZ d e
f d „ ƒ YZ d e
f d „ ƒ YZ d S( iÿÿÿÿN( t utils( t fakes( t qos_specst TestQosc B s e Z d „ Z RS( c C s[ t t | ƒ i ƒ | i i i i | _ | i i ƒ | i i i i | _
| i
i ƒ d S( N( t superR t setUpt appt client_managert volumeR t qos_mockt
reset_mockt volume_typest
types_mock( t self( ( s^ /tmp/pip-build-cD3xZi/python-openstackclient/openstackclient/tests/volume/v1/test_qos_specs.pyR s
( t __name__t
__module__R ( ( ( s^ /tmp/pip-build-cD3xZi/python-openstackclient/openstackclient/tests/volume/v1/test_qos_specs.pyR s t TestQosAssociatec B s e Z d „ Z d „ Z RS( c C s/ t t | ƒ i ƒ t i | i d ƒ | _ d S( N( R R R R t AssociateQosR t Nonet cmd( R
( ( s^ /tmp/pip-build-cD3xZi/python-openstackclient/openstackclient/tests/volume/v1/test_qos_specs.pyR % s c C sÒ t i d t i t i ƒ d t ƒ| i i _
t i d t i t i ƒ d t ƒ| i i _
t i
t i g } d t i
f d t i f g } | i | i | | ƒ } | i i | ƒ | i i i t i
t i ƒ d S( Nt loadedt qos_spect volume_type( R t FakeResourceR t copyt deepcopyt volume_fakest QOSt TrueR t gett return_valuet TYPER t qos_idt type_idt check_parserR t take_actiont associatet assert_called_with( R
t arglistt
verifylistt parsed_args( ( s^ /tmp/pip-build-cD3xZi/python-openstackclient/openstackclient/tests/volume/v1/test_qos_specs.pyt test_qos_associate+ s" ( R R R R) ( ( ( s^ /tmp/pip-build-cD3xZi/python-openstackclient/openstackclient/tests/volume/v1/test_qos_specs.pyR $ s t
TestQosCreatec B s, e Z d „ 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 CreateQosR R R ( R
( ( s^ /tmp/pip-build-cD3xZi/python-openstackclient/openstackclient/tests/volume/v1/test_qos_specs.pyR H s c C sà t i d t i t i ƒ d t ƒ| i i _
t i g } d t i f g } | i | i
| | ƒ } | i
i | ƒ \ } } | i i i t i h t i d 6ƒ d } | i | | ƒ t i t i t i f } | i | | ƒ d S( NR t namet consumert id( R- s ids name( R R R R R R t QOS_DEFAULT_CONSUMERR R t createR t qos_nameR" R R# R% t qos_default_consumert assertEqualR ( R
R&