#NEWLINE# def setUp( self ) : #NEWLINE# #INDENT# super ( OpenStackAuthTestsV3 , self ) . setUp ( ) #NEWLINE# if getattr ( self , 'interface' , None ) : #NEWLINE# #INDENT# override = self . settings ( OPENSTACK_ENDPOINT_TYPE = self . interface ) #NEWLINE# override . enable ( ) #NEWLINE# self . addCleanup ( self . disable ) #NEWLINE# #UNINDENT# self . mox = mox . Mox ( ) #NEWLINE# self . addCleanup ( self . mox . VerifyAll ) #NEWLINE# self . addCleanup ( self . mox . UnsetStubs ) #NEWLINE# self . data = data_v3 . generate_test_data ( ) #NEWLINE# self . ks_client_module = client_v3 #NEWLINE# settings . OPENSTACK_API_VERSIONS [ 'identity' ] = 3 #NEWLINE# settings . OPENSTACK_KEYSTONE_URL = 'http://localhost:5000/v3' #NEWLINE# self . mox . StubOutClassWithMocks ( token_endpoint , 'Token' ) #NEWLINE# self . mox . StubOutClassWithMocks ( v3_auth , 'Token' ) #NEWLINE# self . mox . StubOutClassWithMocks ( v3_auth , 'Password' ) #NEWLINE# self . mox . StubOutClassWithMocks ( client_v3 , 'Client' )