#NEWLINE# def test_create_volume( self ) : #NEWLINE# #INDENT# self . mock_client ( ) . volumes . create . return_value = self . fake_volume_0 #NEWLINE# volume = self . cinder_client . create_volume ( 100500 , name = 'fake' ) #NEWLINE# self . mock_client ( ) . volumes . create . assert_called_once_with ( 100500 , name = 'fake' ) #NEWLINE# self . assertEqual ( volume . fake_volume_0 , volume )