mirror of
https://github.com/graphql-python/graphene-django.git
synced 2025-04-15 14:42:06 +03:00
Fixing pylint
This commit is contained in:
parent
8fc368519f
commit
10b23cafef
|
@ -52,6 +52,7 @@ class FilmType(DjangoObjectType):
|
|||
|
||||
def test_needs_form_class():
|
||||
with raises(Exception) as exc:
|
||||
|
||||
class MyMutation(DjangoFormMutation):
|
||||
pass
|
||||
|
||||
|
@ -331,7 +332,7 @@ class ModelFormMutationTests(TestCase):
|
|||
self.assertEqual(result.data["petMutation"]["pet"], None)
|
||||
self.assertEqual(
|
||||
result.data["petMutation"]["errors"],
|
||||
[{"field": "age", "messages": ["Too old"], }],
|
||||
[{"field": "age", "messages": ["Too old"],}],
|
||||
)
|
||||
|
||||
self.assertEqual(Pet.objects.count(), 0)
|
||||
|
|
Loading…
Reference in New Issue
Block a user