graphene-django/graphene_django/tests
Gary Donovan fcc3de2a90 Allow graphql schema export to use a canonical representation (#439)
When we use the `graphql_schema` management command, the output can vary from run to run depending on arbitrary factors (because there is no guarantee made about the order used to output JSON dictionary keys). This makes it difficult to compare two schema's at different points in time.

We address this by including a new `canonical` flag to the command, which uses standard `json.dump` funcitonality to sort dictionary keys and force pretty-printed output.
2019-03-31 11:30:29 +01:00
..
__init__.py Isolated Graphene Django in a new package 2016-09-17 16:31:17 -07:00
models.py Exclude id from mutation, useful for create operations. 2018-07-22 23:35:11 +01:00
schema_view.py Reformatted files using black 2018-07-19 16:52:24 -07:00
schema.py Reformatted files using black 2018-07-19 16:52:24 -07:00
test_command.py Allow graphql schema export to use a canonical representation (#439) 2019-03-31 11:30:29 +01:00
test_converter.py Replaced a copy-paste error causing one test case not to run 2019-03-27 15:21:15 +01:00
test_forms.py Reformatted files using black 2018-07-19 16:52:24 -07:00
test_query.py Reformatted files using black 2018-07-19 16:52:24 -07:00
test_schema.py Reformatted files using black 2018-07-19 16:52:24 -07:00
test_types.py Reformatted files using black 2018-07-19 16:52:24 -07:00
test_utils.py Drop reverse flag, remove duplicates in get_model_fields 2017-05-25 11:01:29 -05:00
test_views.py Reformatted files using black 2018-07-19 16:52:24 -07:00
urls_inherited.py Reformatted files using black 2018-07-19 16:52:24 -07:00
urls_pretty.py Reformatted files using black 2018-07-19 16:52:24 -07:00
urls.py Reformatted files using black 2018-07-19 16:52:24 -07:00