#NEWLINE# def test_client_detach( self ) : #NEWLINE# #INDENT# clt = clt . client #NEWLINE# vol = self . volume #NEWLINE# vol . detach = Mock ( ) #NEWLINE# clt . detach ( vol ) #NEWLINE# vol . detach . assert_called_once_with ( )