#NEWLINE# def test_update_list_forbidden( self ) : #NEWLINE# #INDENT# 'Attempts to PUT to the list uri.\n        Verifies that the request is rejected with a 405 error.\n        ' #NEWLINE# if self . is_abstract_class : #NEWLINE# #INDENT# return #NEWLINE# #UNINDENT# mozlogger . info ( 'test_update_list_forbidden' ) #NEWLINE# fixture1 = self . factory #NEWLINE# fixture2 = self . factory #NEWLINE# backend_obj1 = self . backend_object ( fixture1 . id ) #NEWLINE# backend_obj2 = self . backend_object ( fixture2 . id ) #NEWLINE# fields1 = self . backend_data ( backend_obj1 ) #NEWLINE# fields2 = self . backend_data ( backend_obj2 ) #NEWLINE# fields1 . update ( self . new_object_data ) #NEWLINE# fields2 . update ( self . new_object_data ) #NEWLINE# data = [ fields1 , fields2 ] #NEWLINE# res = self . put ( self . get_list_url ( data . resource_name ) , params = self . credentials , data = data , status = 405 )