/usr/lib/python2.6/site-packages/openstackclient/tests/common
NameSizeModeActions
test_availability_zone.py93250644editdlrm
test_availability_zone.pyc74990644editdlrm
test_clientmanager.py93850644editdlrm
test_clientmanager.pyc89340644editdlrm
test_command.py11060644editdlrm
test_command.pyc14800644editdlrm
test_commandmanager.py34600644editdlrm
test_commandmanager.pyc39720644editdlrm
test_configuration.py27620644editdlrm
test_configuration.pyc28310644editdlrm
test_context.py89110644editdlrm
test_context.pyc81850644editdlrm
test_extension.py56240644editdlrm
test_extension.pyc47470644editdlrm
test_logs.py87960644editdlrm
test_logs.pyc81300644editdlrm
test_module.py36310644editdlrm
test_module.pyc35720644editdlrm
test_parseractions.py35110644editdlrm
test_parseractions.pyc29870644editdlrm
test_quota.py43690644editdlrm
test_quota.pyc44140644editdlrm
test_timing.py25870644editdlrm
test_timing.pyc28660644editdlrm
test_utils.py104650644editdlrm
test_utils.pyc130580644editdlrm
__init__.py00644editdlrm
__init__.pyc1720644editdlrm
Edit: /usr/lib/python2.6/site-packages/openstackclient/tests/common/test_parseractions.pyc (2987B)
Ńň ;vVc@sIddkZddklZddklZdeifd„ƒYZdS(i˙˙˙˙N(t parseractions(tutilstTestKeyValueActioncBs#eZd„Zd„Zd„ZRS(cCstiƒ}|iddddtiddƒ|idddddd gƒ}t|d hƒ}hd d 6d d6dd6}|i||ƒdS(Ns --propertytmetavars tactionthelpsLProperty to store for this volume (repeat option to set multiple properties)sred=s green=100%sblue=50%tpropertyttreds100%tgreens50%tblue(targparsetArgumentParsert add_argumentRtKeyValueActiont parse_argstgetattrtassertDictEqual(tselftparsertresultstactualtexpect((s_/tmp/pip-build-cD3xZi/python-openstackclient/openstackclient/tests/common/test_parseractions.pyttest_good_valuess  c CsŤtiƒ}|iddddtidhdd6dd 6d d ƒ|idd dd ddgƒ}t|dhƒ}hdd6dd6dd6dd 6}|i||ƒdS(Ns --propertyRs Rtdefaults20%R s#rgbtformatRsLProperty to store for this volume (repeat option to set multiple properties)sred=s green=100%sblue=50%RRRs100%s50%R (R R R RRRRR(RRRRR((s_/tmp/pip-build-cD3xZi/python-openstackclient/openstackclient/tests/common/test_parseractions.pyttest_default_values.s  "c Cs*tiƒ}|iddddtidhdd6dd 6d d ƒ|idd dd dd gƒ}d}t|dhƒ}y|d }Wn.tj o"}|i t |ƒt jƒnXy|d }Wn.tj o"}|i t |ƒt jƒnXhdd6}|i ||ƒ|i d|ƒdS(Ns --propertyRs RRs20%R s40%R RsLProperty to store for this volume (repeat option to set multiple properties)Rs green=100%Rs100%(R R R RRRtNoneRt Exceptiont assertTruettypetKeyErrorRt assertEqual(RRRtfailhereRteR((s_/tmp/pip-build-cD3xZi/python-openstackclient/openstackclient/tests/common/test_parseractions.pyttest_error_valuesFs0   (t__name__t __module__RRR#(((s_/tmp/pip-build-cD3xZi/python-openstackclient/openstackclient/tests/common/test_parseractions.pyRs  (R topenstackclient.commonRtopenstackclient.testsRtTestCaseR(((s_/tmp/pip-build-cD3xZi/python-openstackclient/openstackclient/tests/common/test_parseractions.pyts