Skip to content

Commit 28f5478

Browse files
committed
Fix B026
1 parent f0aca15 commit 28f5478

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

graphene_django/tests/test_converter.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -31,10 +31,10 @@
3131

3232

3333
def assert_conversion(django_field, graphene_field, *args, **kwargs):
34-
_kwargs = kwargs.copy()
34+
_kwargs = {**kwargs, "help_text": "Custom Help Text"}
3535
if "null" not in kwargs:
3636
_kwargs["null"] = True
37-
field = django_field(help_text="Custom Help Text", *args, **_kwargs)
37+
field = django_field(*args, **_kwargs)
3838
graphene_type = convert_django_field(field)
3939
assert isinstance(graphene_type, graphene_field)
4040
field = graphene_type.Field()

0 commit comments

Comments
 (0)