/usr/lib/python2.6/site-packages/cinderclient/tests/unit/v2
Edit: /usr/lib/python2.6/site-packages/cinderclient/tests/unit/v2/test_quotas.pyc (3077B)
Ñò
=vVc @ sI 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 fakest
QuotaSetsTestc B s5 e Z d „ Z d „ Z d „ Z d „ Z d „ Z RS( c C s. d } t i i | ƒ t i d d | ƒ d S( Nt testt GETs /os-quota-sets/%s?usage=False( t cst quotast gett
assert_called( t selft tenant_id( ( sS /tmp/pip-build-cD3xZi/python-cinderclient/cinderclient/tests/unit/v2/test_quotas.pyt test_tenant_quotas_get s c C s. d } t i i | ƒ t i d d | ƒ d S( NR R s /os-quota-sets/%s/defaults( R R t defaultsR ( R R
( ( sS /tmp/pip-build-cD3xZi/python-cinderclient/cinderclient/tests/unit/v2/test_quotas.pyt test_tenant_quotas_defaults s c C s– t i i d ƒ } | i d d ƒ | i d d ƒ | i d d ƒ | i d d ƒ | i d d ƒ | i d d ƒ | i d
d ƒ t i d d
ƒ d S( NR t volumesi t snapshotst gigabytesiÐ t backupst backup_gigabytest consistencygroupst per_volume_gigabytesid t PUTs /os-quota-sets/test( R R R t updateR ( R t q( ( sS /tmp/pip-build-cD3xZi/python-cinderclient/cinderclient/tests/unit/v2/test_quotas.pyt test_update_quota# s c C s? t i i d ƒ } t i i d ƒ } | i | i | i ƒ | i | i | i ƒ | i | i | i ƒ | i | i | i ƒ | i | i | i ƒ | i | i | i ƒ | i | i
| i
ƒ d | _ | i | i | i ƒ d | _ | i | i | i ƒ d | _ | i | i | i ƒ d | _ | i | i | i ƒ d | _ | i | i | i ƒ d | _ | i | i | i ƒ d | _
| i | i
| i
ƒ | i ƒ | i | i | i ƒ | i | i | i ƒ | i | i | i ƒ | i | i | i ƒ | i | i | i ƒ | i | i | i ƒ | i | i
| i
ƒ d S( NR i ( R R R t assertEqualR R R R R R R t assertNotEqual( R R t q2( ( sS /tmp/pip-build-cD3xZi/python-cinderclient/cinderclient/tests/unit/v2/test_quotas.pyt test_refresh_quota. s>
c C s* d } t i i | ƒ t i d d ƒ d S( NR t DELETEs /os-quota-sets/test( R R t deleteR ( R R
( ( sS /tmp/pip-build-cD3xZi/python-cinderclient/cinderclient/tests/unit/v2/test_quotas.pyt test_delete_quotaO s ( t __name__t
__module__R R
R R R ( ( ( sS /tmp/pip-build-cD3xZi/python-cinderclient/cinderclient/tests/unit/v2/test_quotas.pyR s
!N( t cinderclient.tests.unitR t cinderclient.tests.unit.v2R t
FakeClientR t TestCaseR ( ( ( sS /tmp/pip-build-cD3xZi/python-cinderclient/cinderclient/tests/unit/v2/test_quotas.pyt
s