#NEWLINE# def test_inst_list_backups( self ) : #NEWLINE# #INDENT# inst = self . instance #NEWLINE# mgr = inst . manager #NEWLINE# mgr . _list_backups_for_instance = Mock ( ) #NEWLINE# inst . list_backups ( ) #NEWLINE# mgr . _list_backups_for_instance . assert_called_once_with ( self , limit = 20 , marker = 0 )