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):
7878 class Meta :
7979 form_class = ExtraPetForm
8080
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
8481 result = PetMutation .mutate_and_get_payload (None , None )
8582 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" }
8686
8787
8888class MockQuery (ObjectType ):
Original file line number Diff line number Diff line change 3434 "RELAY_CONNECTION_ENFORCE_FIRST_OR_LAST" : False ,
3535 # Max items returned in ConnectionFields / FilterConnectionFields
3636 "RELAY_CONNECTION_MAX_LIMIT" : 100 ,
37- "CAMELCASE_ERRORS" : False ,
37+ "CAMELCASE_ERRORS" : True ,
3838 # Set to True to enable v3 naming convention for choice field Enum's
3939 "DJANGO_CHOICE_FIELD_ENUM_V3_NAMING" : False ,
4040 "DJANGO_CHOICE_FIELD_ENUM_CUSTOM_NAME" : None ,
You can’t perform that action at this time.
0 commit comments