We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent b7e4937 commit 2247250Copy full SHA for 2247250
graphene_django/utils/testing.py
@@ -54,8 +54,8 @@ def assertResponseNoErrors(self, resp):
54
the call was fine.
55
:resp HttpResponse: Response
56
"""
57
- content = json.loads(resp.content)
58
self.assertEqual(resp.status_code, 200)
+ content = json.loads(resp.content)
59
self.assertNotIn("errors", list(content.keys()))
60
61
def assertResponseHasErrors(self, resp):
0 commit comments