File tree Expand file tree Collapse file tree 2 files changed +4
-4
lines changed Expand file tree Collapse file tree 2 files changed +4
-4
lines changed Original file line number Diff line number Diff line change @@ -51,12 +51,12 @@ class PetMutation(DjangoModelFormMutation):
5151 class Meta :
5252 form_class = ExtraPetForm
5353
54- result = PetMutation .mutate_and_get_payload (None , None )
55- assert {f .field for f in result .errors } == {"name" , "age" , "test_field" }
56- graphene_settings .CAMELCASE_ERRORS = True
5754 result = PetMutation .mutate_and_get_payload (None , None )
5855 assert {f .field for f in result .errors } == {"name" , "age" , "testField" }
5956 graphene_settings .CAMELCASE_ERRORS = False
57+ result = PetMutation .mutate_and_get_payload (None , None )
58+ assert {f .field for f in result .errors } == {"name" , "age" , "test_field" }
59+ graphene_settings .CAMELCASE_ERRORS = True
6060
6161
6262class ModelFormMutationTests (TestCase ):
Original file line number Diff line number Diff line change 3535 "RELAY_CONNECTION_ENFORCE_FIRST_OR_LAST" : False ,
3636 # Max items returned in ConnectionFields / FilterConnectionFields
3737 "RELAY_CONNECTION_MAX_LIMIT" : 100 ,
38- "CAMELCASE_ERRORS" : False ,
38+ "CAMELCASE_ERRORS" : True ,
3939}
4040
4141if settings .DEBUG :
You can’t perform that action at this time.
0 commit comments