#NEWLINE# def test_vol_rename( self ) : #NEWLINE# #INDENT# vol = self . volume #NEWLINE# nm = utils . random_unicode ( ) #NEWLINE# vol . update = Mock ( ) #NEWLINE# vol . rename ( nm ) #NEWLINE# vol . update . assert_called_once_with ( display_name = nm )