#NEWLINE# def test_backup_restore( self ) : #NEWLINE# #INDENT# arglist = [ volume_fakes . backup_id , volume_fakes . volume_id ] #NEWLINE# verifylist = [ ( 'backup' , volume_fakes . backup_id ) , ( 'volume' , volume_fakes . volume_id ) ] #NEWLINE# parsed_args = self . check_parser ( self . cmd , arglist , verifylist ) #NEWLINE# result = self . cmd . take_action ( parsed_args ) #NEWLINE# self . restores_mock . restore . assert_called_with ( volume_fakes . backup_id , volume_fakes . volume_id ) #NEWLINE# self . assertIsNone ( result )