Tom Nightingale
d96c032add
Remove unused import
2020-05-19 16:43:04 -07:00
Tom Nightingale
7ac0e82176
Use the Django Client test utility instance that Django provides with its TestCase class. This allows GraphQL tests to make use of the stateful client methods like login()
2020-02-26 17:04:58 -08:00
Chibuotu Amadi
b66a3f3479
Add headers arg to GraphQLTestCase.query ( #827 )
...
* Add headers arg to GraphQLTestCase.query
* fix headers NoneType case in GraphQLTestCase.query
* Run format
Co-authored-by: Jonathan Kim <jkimbo@gmail.com>
2019-12-26 11:45:18 +00:00
Misha K
b085b5922a
add Django 3.0 to the test matrix ( #793 )
...
* add Django 3.0 to the test matrix
* fix six imports
2019-10-18 11:38:59 +01:00
Talley Lambert
254e59c36f
Adds variables arg to GraphQLTestCase.query ( #699 )
...
* add variables arg in GraphQLTestCase.query
* update GraphQLTestCase.query docstring and remove type check
2019-09-07 11:49:29 -07:00
Semyon Pupkov
224725039b
Asserting status code before decoding json in assertResponseNoEr… ( #708 )
2019-07-11 20:32:07 +01:00
Konstantin Alekseev
e2e496f505
Apply camel case converter to field names in DRF errors ( #514 )
...
* Apply camel case converter to field names in DRF errors
* Implement recursive error camelize, add setting.
2019-06-25 09:40:29 +01:00
Emil Goldsmith Olesen
3cde872e28
Stop enforcing csrf checks in GraphQLTestCase ( #658 )
2019-06-09 16:30:48 -07:00
José Roberto Meza Cabrera
ce6e6dd6e1
Fixes O2O relations
2019-06-09 14:15:46 -05:00
José Roberto Meza Cabrera
67b21cb36f
Revert "Drop old Django compatibility code"
...
This reverts commit 6acd917cf7 .
2019-06-09 14:08:31 -05:00
Paul Hallett
2bf7e7f66d
Fix importing error for GraphQLTestCase
2019-05-08 22:45:28 +01:00