/usr/lib/python2.6/site-packages/openstack/tests/functional/block_store/v2
Edit: /usr/lib/python2.6/site-packages/openstack/tests/functional/block_store/v2/test_snapshot.pyc (2565B)
Ñò
5
Wc @ sY 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 S( iÿÿÿÿN( t snapshot( t volume( t baset TestSnapshotc B sY e Z e i ƒ i Z d Z e i ƒ i Z d Z e
d „ ƒ Z e
d „ ƒ Z d „ Z
RS( c
C s0 t t | ƒ i ƒ | i i i d | i d d ƒ } | i i i | d d d d g d d d
d ƒt | t i
ƒ p t ‚ | i | i | i
ƒ | i | _ | i i i d | i d | i ƒ } | i i i | d d d d g d d d
d ƒt | t i ƒ p t ‚ | i | i | i
ƒ | i | _ d S(
Nt namet sizei t statust availablet failurest errort intervali t waitix t volume_id( t superR t
setUpClasst connt block_storet
create_volumet VOLUME_NAMEt wait_for_statust
isinstancet _volumet Volumet AssertionErrort assertIsR t idt VOLUME_IDt create_snapshott
SNAPSHOT_NAMEt _snapshott Snapshott SNAPSHOT_ID( t clsR R ( ( s] /tmp/pip-build-wCUybK/openstacksdk/openstack/tests/functional/block_store/v2/test_snapshot.pyR s. c C s” | i i i | i ƒ } | i i i | d t ƒ} | i i i | d d d d ƒ| i d | ƒ | i i i | i
d t ƒ} | i d | ƒ d S( Nt ignore_missingR
i R ix ( R R t get_snapshotR t delete_snapshott Falset wait_for_deleteR t Nonet
delete_volumeR ( R R t sot( ( s] /tmp/pip-build-wCUybK/openstacksdk/openstack/tests/functional/block_store/v2/test_snapshot.pyt
tearDownClass5 s c C s2 | i i i | i ƒ } | i | i | i ƒ d S( N( R R R" R t assertEqualR R ( t selfR( ( ( s] /tmp/pip-build-wCUybK/openstacksdk/openstack/tests/functional/block_store/v2/test_snapshot.pyt test_getB s N( t __name__t
__module__t uuidt uuid4t hexR R&