/usr/lib/python2.6/site-packages/openstackclient/tests/compute/v2
Edit: /usr/lib/python2.6/site-packages/openstackclient/tests/compute/v2/test_service.pyc (7765B)
Ñò
þWc @ s§ d d k Z d d k 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 S( iÿÿÿÿN( t service( t fakest TestServicec B s e Z d „ Z RS( c C s9 t t | ƒ i ƒ | i i i i | _ | i i ƒ d S( N( t superR t setUpt appt client_managert computet servicest service_mockt
reset_mock( t self( ( s] /tmp/pip-build-iUCeBS/python-openstackclient/openstackclient/tests/compute/v2/test_service.pyR s ( t __name__t
__module__R ( ( ( s] /tmp/pip-build-iUCeBS/python-openstackclient/openstackclient/tests/compute/v2/test_service.pyR s t TestServiceDeletec B s e Z d „ Z d „ Z RS( c C s> t t | ƒ i ƒ d | i i _ t i | i d ƒ | _
d S( N( R R R t NoneR t deletet return_valueR t
DeleteServiceR t cmd( R ( ( s] /tmp/pip-build-iUCeBS/python-openstackclient/openstackclient/tests/compute/v2/test_service.pyR $ s c C so t i g } d t i f g } | i | i | | ƒ } | i i | ƒ } | i i i t i ƒ | i | ƒ d S( NR ( t
compute_fakest service_binaryt check_parserR t take_actionR R t assert_called_witht assertIsNone( R t arglistt
verifylistt parsed_argst result( ( s] /tmp/pip-build-iUCeBS/python-openstackclient/openstackclient/tests/compute/v2/test_service.pyt test_service_delete_no_options, s
( R R
R R ( ( ( s] /tmp/pip-build-iUCeBS/python-openstackclient/openstackclient/tests/compute/v2/test_service.pyR " s t TestServiceListc B s# e Z d „ Z d „ Z d „ Z RS( c C s_ t t | ƒ i ƒ t i d t i t i ƒ d t
ƒg | i i _
t i | i d ƒ | _ d S( Nt loaded( R R R R t FakeResourceR t copyt deepcopyR t SERVICEt TrueR t listR R t ListServiceR R ( R ( ( s] /tmp/pip-build-iUCeBS/python-openstackclient/openstackclient/tests/compute/v2/test_service.pyR ? s c C s³ d t i d t i g } d t i f d t i f g } | i | i | | ƒ } | i i | ƒ \ } } | i i i t i t i ƒ | i d | ƒ | i t i
t | ƒ d ƒ d S( Ns --hosts --servicet hostR s Disabled Reasoni ( R t service_hostR R R R R R&