/usr/lib/python2.6/site-packages/cinderclient/tests/functional
NameSizeModeActions
hooks/-0755rm
base.py85580644editdlrm
base.pyc100650644editdlrm
test_cli.py27370644editdlrm
test_cli.pyc30940644editdlrm
test_readonly_cli.py41350644editdlrm
test_readonly_cli.pyc56900644editdlrm
__init__.py00644editdlrm
__init__.pyc1700644editdlrm
Edit: /usr/lib/python2.6/site-packages/cinderclient/tests/functional/test_cli.pyc (3094B)
Ñò =vVc@s-ddklZdeifd„ƒYZdS(i˙˙˙˙(tbasetCinderClientTestscBs;eZdZd„Zd„Zd„Zd„Zd„ZRS(sFBasic test for cinder client. Check of base cinder commands. cCsK|iddƒ}|i|iƒƒ|i|dƒ|i|dƒdS(s!Create and delete a volume by ID.tparamst1tidN(t volume_createtassert_volume_detailstkeyst volume_deletetcheck_volume_deleted(tselftvolume((sS/tmp/pip-build-cD3xZi/python-cinderclient/cinderclient/tests/functional/test_cli.pyttest_volume_create_delete_idscCs:|iddƒ}|idddƒ|i|dƒdS(s#Create and delete a volume by name.Rs1 --name TestVolumeNamedCreatetdeletetTestVolumeNamedCreateRN(RtcinderR (R R ((sS/tmp/pip-build-cD3xZi/python-cinderclient/cinderclient/tests/functional/test_cli.pyttest_volume_create_delete_namescCsƒ|iddƒ}|idddƒ}|i|ƒ}|id|dƒ|i|iƒƒ|i|dƒ|i|dƒdS(sShow volume details.Rs1 --name TestVolumeShowtshowtTestVolumeShowtnameRN(RRt_get_property_from_outputt assertEqualRRRR (R R toutput((sS/tmp/pip-build-cD3xZi/python-cinderclient/cinderclient/tests/functional/test_cli.pyttest_volume_show$scCsİ|iddƒ}|iddd|ddfƒ|i|ddƒ|idd|dƒ}|i|ƒ}|id |d ƒ|i|dƒ|i|dƒd S( sExtend a volume size.Rs1 --name TestVolumeExtendtextends%s %sRit availableRt2tsizeN(RRtwait_for_volume_statusRRRR (R R R((sS/tmp/pip-build-cD3xZi/python-cinderclient/cinderclient/tests/functional/test_cli.pyttest_volume_extend/s!cCs€|iddƒ}|i|dƒ}|i|iƒƒ|i|dƒ|i|dƒ|i|dƒ|i|dƒdS(s)Create a volume snapshot and then delete.RRRN(Rtsnapshot_createtassert_snapshot_detailsRtsnapshot_deletetcheck_snapshot_deletedRR (R R tsnapshot((sS/tmp/pip-build-cD3xZi/python-cinderclient/cinderclient/tests/functional/test_cli.pyttest_snapshot_create_and_delete;s(t__name__t __module__t__doc__R RRRR#(((sS/tmp/pip-build-cD3xZi/python-cinderclient/cinderclient/tests/functional/test_cli.pyRs    N(tcinderclient.tests.functionalRtClientTestBaseR(((sS/tmp/pip-build-cD3xZi/python-cinderclient/cinderclient/tests/functional/test_cli.pyts