/usr/lib/python2.6/site-packages/cinderclient/tests/unit/v2
Edit: /usr/lib/python2.6/site-packages/cinderclient/tests/unit/v2/test_volume_backups.pyc (4428B)
Ñò
=vVc @ sY d d k l Z d d k l Z d d k l Z e i ƒ Z d e i f d „ ƒ YZ d S( iÿÿÿÿ( t utils( t fakes( t volume_backups_restoret VolumeBackupsTestc B sb e Z d „ Z d „ Z d „ Z d „ Z d „ Z d „ Z d „ Z d „ Z d „ Z
d „ Z RS(
c C s$ t i i d ƒ t i d d ƒ d S( Ns$ 2b695faf-b963-40c8-8464-274008fbcef4t POSTs /backups( t cst backupst createt
assert_called( t self( ( s[ /tmp/pip-build-cD3xZi/python-cinderclient/cinderclient/tests/unit/v2/test_volume_backups.pyt test_create s c C s- t i i d d d t ƒ t i d d ƒ d S( Ns$ 2b695faf-b963-40c8-8464-274008fbcef4R s /backups( R R R t Nonet FalseR ( R ( ( s[ /tmp/pip-build-cD3xZi/python-cinderclient/cinderclient/tests/unit/v2/test_volume_backups.pyt test_create_full s
c C s- t i i d d d t ƒ t i d d ƒ d S( Ns$ 2b695faf-b963-40c8-8464-274008fbcef4R s /backups( R R R R t TrueR ( R ( ( s[ /tmp/pip-build-cD3xZi/python-cinderclient/cinderclient/tests/unit/v2/test_volume_backups.pyt test_create_incremental# s
c C s0 t i i d d d t t ƒ t i d d ƒ d S( Ns$ 2b695faf-b963-40c8-8464-274008fbcef4R s /backups( R R R R R R R ( R ( ( s[ /tmp/pip-build-cD3xZi/python-cinderclient/cinderclient/tests/unit/v2/test_volume_backups.pyt test_create_force( s c C s. d } t i i | ƒ t i d d | ƒ d S( Ns$ 76a17945-3c6f-435c-975b-b5685db10b62t GETs /backups/%s( R R t getR ( R t backup_id( ( s[ /tmp/pip-build-cD3xZi/python-cinderclient/cinderclient/tests/unit/v2/test_volume_backups.pyt test_get- s c C s! t i i ƒ t i d d ƒ d S( NR s /backups/detail( R R t listR ( R ( ( s[ /tmp/pip-build-cD3xZi/python-cinderclient/cinderclient/tests/unit/v2/test_volume_backups.pyt test_list2 s
c C sq t i i ƒ d } | i ƒ t i d d ƒ t i i d ƒ t i d d ƒ t i i | ƒ t i d d ƒ d S( Ni t DELETEs- /backups/76a17945-3c6f-435c-975b-b5685db10b62s$ 76a17945-3c6f-435c-975b-b5685db10b62( R R R t deleteR ( R t b( ( s[ /tmp/pip-build-cD3xZi/python-cinderclient/cinderclient/tests/unit/v2/test_volume_backups.pyt test_delete6 s
c C sC d } t i i | ƒ } t i d d | ƒ | i | t i ƒ d S( Ns$ 76a17945-3c6f-435c-975b-b5685db10b62R s /backups/%s/restore( R t restorest restoreR t assertIsInstanceR t VolumeBackupsRestore( R R t info( ( s[ /tmp/pip-build-cD3xZi/python-cinderclient/cinderclient/tests/unit/v2/test_volume_backups.pyt test_restoreB s
c C s. d } t i i | ƒ t i d d | ƒ d S( Ns$ 76a17945-3c6f-435c-975b-b5685db10b62R s /backups/%s/export_record( R R t
export_recordR ( R R ( ( s[ /tmp/pip-build-cD3xZi/python-cinderclient/cinderclient/tests/unit/v2/test_volume_backups.pyt test_record_exportI s c C sQ d } d } h h | d 6| d 6d 6} t i i | | ƒ t i d d | ƒ d S( Ns fake-backup-services fake-backup-urlt backup_servicet
backup_urls
backup-recordR s /backups/import_record( R R t
import_recordR ( R R# R$ t
expected_body( ( s[ /tmp/pip-build-cD3xZi/python-cinderclient/cinderclient/tests/unit/v2/test_volume_backups.pyt test_record_importO s
( t __name__t
__module__R
R
R R R R R R R" R' ( ( ( s[ /tmp/pip-build-cD3xZi/python-cinderclient/cinderclient/tests/unit/v2/test_volume_backups.pyR s N(
t cinderclient.tests.unitR t cinderclient.tests.unit.v2R t cinderclient.v2R t
FakeClientR t TestCaseR ( ( ( s[ /tmp/pip-build-cD3xZi/python-cinderclient/cinderclient/tests/unit/v2/test_volume_backups.pyt
s