#NEWLINE# def test_get_volume_by_id( self ) : #NEWLINE# #INDENT# volume = self . cinder_client . get_volume_by_id ( 'fake_id' ) #NEWLINE# self . mock_client ( ) . volumes . get . assert_called_once_with ( 'fake_id' ) #NEWLINE# self . assertEqual ( self . fake_volume_0 , volume )