/usr/lib/python2.6/site-packages/openstackclient/tests/identity/v2_0
NameSizeModeActions
fakes.py46100644editdlrm
fakes.pyc45210644editdlrm
test_catalog.py55120644editdlrm
test_catalog.pyc66490644editdlrm
test_endpoint.py87920644editdlrm
test_endpoint.pyc76480644editdlrm
test_project.py181500644editdlrm
test_project.pyc151660644editdlrm
test_role.py150980644editdlrm
test_role.pyc133510644editdlrm
test_service.py99800644editdlrm
test_service.pyc86690644editdlrm
test_token.py25520644editdlrm
test_token.pyc33300644editdlrm
test_user.py251770644editdlrm
test_user.pyc194360644editdlrm
__init__.py00644editdlrm
__init__.pyc1790644editdlrm
Edit: /usr/lib/python2.6/site-packages/openstackclient/tests/identity/v2_0/test_service.pyc (8669B)
Ñò ;vVc@s±ddkZddklZddklZddklZdeifd„ƒYZdefd„ƒYZ defd „ƒYZ d efd „ƒYZ d efd „ƒYZ dS(iÿÿÿÿN(tservice(tfakest TestServicecBseZd„ZRS(cCs9tt|ƒiƒ|iiii|_|iiƒdS(N( tsuperRtsetUptapptclient_managertidentitytservicest services_mockt reset_mock(tself((s`/tmp/pip-build-cD3xZi/python-openstackclient/openstackclient/tests/identity/v2_0/test_service.pyRs(t__name__t __module__R(((s`/tmp/pip-build-cD3xZi/python-openstackclient/openstackclient/tests/identity/v2_0/test_service.pyRstTestServiceCreatecBs5eZd„Zd„Zd„Zd„Zd„ZRS(cCs\tt|ƒiƒtidtiti ƒdt ƒ|i i _ ti|idƒ|_dS(Ntloaded(RRRRt FakeResourcetNonetcopytdeepcopytidentity_fakestSERVICEtTrueR tcreatet return_valueRt CreateServiceRtcmd(R ((s`/tmp/pip-build-cD3xZi/python-openstackclient/openstackclient/tests/identity/v2_0/test_service.pyR#s cCs»tig}dtifdddg}|i|i||ƒ}|ii|ƒ\}}|iiidtidƒd }|i ||ƒti ti ti tif}|i ||ƒdS( Nt type_or_namettypet descriptiontnametid(stypeN(s descriptionN(snameN(s descriptionsidsnamestype( Rt service_typeRt check_parserRt take_actionR Rtassert_called_witht assertEqualtservice_descriptiont service_idt service_name(R targlistt verifylistt parsed_argstcolumnstdatatcollisttdatalist((s`/tmp/pip-build-cD3xZi/python-openstackclient/openstackclient/tests/identity/v2_0/test_service.pyt(test_service_create_with_type_positional/s$     cCsÐdtitig}dtifdtifddg}|i|i||ƒ}|ii|ƒ\}}|iii titidƒd }|i ||ƒti ti titif}|i ||ƒdS( Ns--typeRRRRR(s descriptionN(snameN(s descriptionsidsnamestype( RR R'RR!RR"R RR#R$R%R&(R R(R)R*R+R,R-R.((s`/tmp/pip-build-cD3xZi/python-openstackclient/openstackclient/tests/identity/v2_0/test_service.pyt$test_service_create_with_type_optionOs&       cCsÐdtitig}dtifdddtifg}|i|i||ƒ}|ii|ƒ\}}|iii titidƒd }|i ||ƒti ti titif}|i ||ƒdS( Ns--nameRRRRR(stypeN(s descriptionN(s descriptionsidsnamestype( RR'R RR!RR"R RR#R$R%R&(R R(R)R*R+R,R-R.((s`/tmp/pip-build-cD3xZi/python-openstackclient/openstackclient/tests/identity/v2_0/test_service.pyt$test_service_create_with_name_optionps&     cCsådtidtitig}dtifddtifdtifg}|i|i||ƒ}|ii|ƒ\}}|ii i tititiƒd }|i ||ƒtiti titif}|i ||ƒdS( Ns--names --descriptionRRRRR(stypeN(s descriptionsidsnamestype( RR'R%R RR!RR"R RR#R$R&(R R(R)R*R+R,R-R.((s`/tmp/pip-build-cD3xZi/python-openstackclient/openstackclient/tests/identity/v2_0/test_service.pyttest_service_create_description‘s(        (R R RR/R0R1R2(((s`/tmp/pip-build-cD3xZi/python-openstackclient/openstackclient/tests/identity/v2_0/test_service.pyR!s  ! !tTestServiceDeletecBseZd„Zd„ZRS(cCsktt|ƒiƒtidtiti ƒdt ƒ|i i _ d|i i_ ti|idƒ|_dS(NR(RR3RRRRRRRRRR tgetRtdeleteRt DeleteServiceRR(R ((s`/tmp/pip-build-cD3xZi/python-openstackclient/openstackclient/tests/identity/v2_0/test_service.pyR¶scCs`tig}dtifg}|i|i||ƒ}|ii|ƒ|iiitiƒdS(NR( RR'R!RR"R R5R#R&(R R(R)R*((s`/tmp/pip-build-cD3xZi/python-openstackclient/openstackclient/tests/identity/v2_0/test_service.pyttest_service_delete_no_optionsÃs   (R R RR7(((s`/tmp/pip-build-cD3xZi/python-openstackclient/openstackclient/tests/identity/v2_0/test_service.pyR3´s tTestServiceListcBs#eZd„Zd„Zd„ZRS(cCs_tt|ƒiƒtidtiti ƒdt ƒg|i i _ ti|idƒ|_dS(NR(RR8RRRRRRRRRR tlistRRt ListServiceRR(R ((s`/tmp/pip-build-cD3xZi/python-openstackclient/openstackclient/tests/identity/v2_0/test_service.pyRÖs cCs—g}g}|i|i||ƒ}|ii|ƒ\}}|iiiƒd}|i||ƒtiti ti ff}|i|t |ƒƒdS(NtIDtNametType(R;sNameR=( R!RR"R R9R#R$RR&R'R ttuple(R R(R)R*R+R,R-R.((s`/tmp/pip-build-cD3xZi/python-openstackclient/openstackclient/tests/identity/v2_0/test_service.pyttest_service_list_no_optionsäscCs©dg}dtfg}|i|i||ƒ}|ii|ƒ\}}|iiiƒd}|i||ƒti ti ti ti ff}|i|t |ƒƒdS(Ns--longtlongR;R<R=t Description(sIDsNamesTypes Description(RR!RR"R R9R#R$RR&R'R R%R>(R R(R)R*R+R,R-R.((s`/tmp/pip-build-cD3xZi/python-openstackclient/openstackclient/tests/identity/v2_0/test_service.pyttest_service_list_long÷s (R R RR?RB(((s`/tmp/pip-build-cD3xZi/python-openstackclient/openstackclient/tests/identity/v2_0/test_service.pyR8Ôs  tTestServiceShowcBseZd„Zd„ZRS(cCs\tt|ƒiƒtidtiti ƒdt ƒ|i i _ ti|idƒ|_dS(NR(RRCRRRRRRRRRR R4RRt ShowServiceRR(R ((s`/tmp/pip-build-cD3xZi/python-openstackclient/openstackclient/tests/identity/v2_0/test_service.pyRs cCs¬tig}dtifg}|i|i||ƒ}|ii|ƒ\}}|iiitiƒd}|i||ƒti ti titi f}|i||ƒdS(NRRRRR(s descriptionsidsnamestype( RR'R!RR"R R4R#R$R%R&R (R R(R)R*R+R,R-R.((s`/tmp/pip-build-cD3xZi/python-openstackclient/openstackclient/tests/identity/v2_0/test_service.pyttest_service_shows    (R R RRE(((s`/tmp/pip-build-cD3xZi/python-openstackclient/openstackclient/tests/identity/v2_0/test_service.pyRCs ( Rtopenstackclient.identity.v2_0Rtopenstackclient.testsRt#openstackclient.tests.identity.v2_0RtTestIdentityv2RRR3R8RC(((s`/tmp/pip-build-cD3xZi/python-openstackclient/openstackclient/tests/identity/v2_0/test_service.pyts  “ <