#NEWLINE# def test_update_without_fk( self ) : #NEWLINE# #INDENT# "fk's cannot be changed, so they are not required on edit." #NEWLINE# if self . is_abstract_class : #NEWLINE# #INDENT# return #NEWLINE# #UNINDENT# fixture1 = self . factory #NEWLINE# for fk in self . read_create_fields : #NEWLINE# #INDENT# mozlogger . info ( 'test_update_without_fk {0}' . format ( fk ) ) #NEWLINE# fields = self . backend_data ( fixture1 ) #NEWLINE# fields = self . manipulate_edit_data ( fixture1 , fields ) #NEWLINE# fields . pop ( fk ) #NEWLINE# res = self . put ( self . get_detail_url ( self . resource_name , fixture1 . id ) , params = self . credentials , data = fields )