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 @@ -78,11 +78,11 @@ class PetMutation(DjangoModelFormMutation):
78
78
class Meta :
79
79
form_class = ExtraPetForm
80
80
81
- result = PetMutation .mutate_and_get_payload (None , None )
82
- assert {f .field for f in result .errors } == {"name" , "age" , "test_field" }
83
- graphene_settings .CAMELCASE_ERRORS = True
84
81
result = PetMutation .mutate_and_get_payload (None , None )
85
82
assert {f .field for f in result .errors } == {"name" , "age" , "testField" }
83
+ graphene_settings .CAMELCASE_ERRORS = False
84
+ result = PetMutation .mutate_and_get_payload (None , None )
85
+ assert {f .field for f in result .errors } == {"name" , "age" , "test_field" }
86
86
87
87
88
88
class MockQuery (ObjectType ):
Original file line number Diff line number Diff line change 34
34
"RELAY_CONNECTION_ENFORCE_FIRST_OR_LAST" : False ,
35
35
# Max items returned in ConnectionFields / FilterConnectionFields
36
36
"RELAY_CONNECTION_MAX_LIMIT" : 100 ,
37
- "CAMELCASE_ERRORS" : False ,
37
+ "CAMELCASE_ERRORS" : True ,
38
38
# Set to True to enable v3 naming convention for choice field Enum's
39
39
"DJANGO_CHOICE_FIELD_ENUM_V3_NAMING" : False ,
40
40
"DJANGO_CHOICE_FIELD_ENUM_CUSTOM_NAME" : None ,
You can’t perform that action at this time.
0 commit comments