Closed
Description
I have been following the code as mentioned in the docs here but its not working.I have the following issues/questions-
- As Django carries testing in an ephemeral database, how can I create a user so that I can validate JWT auth in all the APIs? This is the error log of a test query
404
functools.partial(<bound method Client._parse_json of <django.test.client.Client object at 0x7f0c87fb70f0>>, <HttpResponseNotFound status_code=404, "text/html">)
- The
test_query_with_variables
function is not working and throws this error
TypeError: query() got an unexpected keyword argument 'variables'
Please help with testing APIs that need JWT auth and also how to write test cases for them.
Metadata
Metadata
Assignees
Labels
No labels