/usr/lib/python2.6/site-packages/openstackclient/tests/identity/v2_0
Edit: /usr/lib/python2.6/site-packages/openstackclient/tests/identity/v2_0/test_user.pyc (19436B)
Ñò
;vVc @ sã d d k Z d d k Z d d k l Z d d k l Z d d k l Z d d k l Z
d e
i f d „ ƒ YZ d e f d „ ƒ YZ
d e f d
„ ƒ YZ d e f d „ ƒ YZ d
e f d „ ƒ YZ d e f d „ ƒ YZ d S( iÿÿÿÿN( t
exceptions( t user( t fakest TestUserc B s e Z d „ Z RS( c C s[ t t | ƒ i ƒ | i i i i | _ | i i ƒ | i i i i | _
| i
i ƒ d S( N( t superR t setUpt appt client_managert identityt tenantst
projects_mockt
reset_mockt userst
users_mock( t self( ( s] /tmp/pip-build-cD3xZi/python-openstackclient/openstackclient/tests/identity/v2_0/test_user.pyR s
( t __name__t
__module__R ( ( ( s] /tmp/pip-build-cD3xZi/python-openstackclient/openstackclient/tests/identity/v2_0/test_user.pyR s t TestUserCreatec 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 t | ƒ i ƒ t i d t i t i ƒ d t
ƒ| i i _
t i d t i t i ƒ d t
ƒ| i i _
t i | i d ƒ | _ d S( Nt loaded( R R R R t FakeResourcet Nonet copyt deepcopyt identity_fakest PROJECTt TrueR
t gett return_valuet USERR
t createR t
CreateUserR t cmd( R ( ( s] /tmp/pip-build-cD3xZi/python-openstackclient/openstackclient/tests/identity/v2_0/test_user.pyR ) s c C sÞ t i g } d t f d t f d t i f g } | i | i | | ƒ } | i i | ƒ \ } } h t d 6d d 6} | i i i
t i d d | d } | i | | ƒ t i t t i
t i t i f } | i | | ƒ d S(
Nt enablet disablet namet enabledt tenant_idt emailt idt
project_id( s emails enableds ids names
project_id( R t user_namet Falset check_parserR t take_actionR R R
R t assert_called_witht assertEqualt
user_emailt user_idR' ( R t arglistt
verifylistt parsed_argst columnst datat kwargst collistt datalist( ( s] /tmp/pip-build-cD3xZi/python-openstackclient/openstackclient/tests/identity/v2_0/test_user.pyt test_user_create_no_options; s,
c C sÞ d d t i g } d t i f d t f d g } | i | i | | ƒ } | i i | ƒ \ } } h t d 6d d 6} | i i i
t i d d | d } | i | | ƒ t i t t i
t i t i f } | i | | ƒ d S(
Ns
--passwordt secretR" t password_promptt passwordR# R$ R% R&