mirror of
https://github.com/netbox-community/netbox.git
synced 2025-07-27 19:08:38 -06:00
Update netbox/netbox/tests/test_graphql.py
Co-authored-by: Jeremy Stretch <jstretch@netboxlabs.com>
This commit is contained in:
parent
cca556c6f9
commit
ddbda68595
@ -105,7 +105,6 @@ class GraphQLAPITestCase(APITestCase):
|
|||||||
id site {id}
|
id site {id}
|
||||||
}
|
}
|
||||||
}"""
|
}"""
|
||||||
print(query)
|
|
||||||
response = self.client.post(url, data={'query': query}, format="json", **self.header)
|
response = self.client.post(url, data={'query': query}, format="json", **self.header)
|
||||||
self.assertHttpStatus(response, status.HTTP_200_OK)
|
self.assertHttpStatus(response, status.HTTP_200_OK)
|
||||||
data = json.loads(response.content)
|
data = json.loads(response.content)
|
||||||
|
Loading…
Reference in New Issue
Block a user