graphene-django/graphene_django/tests
Tonye Jack 5cee41407c
Added GraphQLTransactionTestCase (#1099)
* Added GraphQLTransactionTestCase

- Adds support for testing code that is executed within a transaction

Reference: https://docs.djangoproject.com/en/3.1/topics/testing/tools/#django.test.TransactionTestCase
```
 For instance, you cannot test that a block of code is executing within a transaction, as is required when using select_for_update(). In those cases, you should use TransactionTestCase.
```

* Update testing.py

* Update testing.py

* Fixed formatting.

* Updated docs.

* Updated test.

* Update testing.rst
2021-02-22 20:24:02 -08:00
..
issues Fix duplicated ErrorType declaration (#539) 2019-03-31 12:01:43 +01:00
__init__.py Isolated Graphene Django in a new package 2016-09-17 16:31:17 -07:00
forms.py WIP: Merge master into v3 (#1086) 2020-12-30 15:37:57 -08:00
models.py Add enum support to filters and fix filter typing (v3) (#1119) 2021-02-22 20:21:32 -08:00
mutations.py WIP: Merge master into v3 (#1086) 2020-12-30 15:37:57 -08:00
schema_view.py WIP: Merge master into v3 (#1086) 2020-12-30 15:37:57 -08:00
schema.py Warn if fields or exclude are not defined on DjangoObjectType (#981) 2020-06-11 11:09:52 +01:00
test_command.py graphql 3.0 and graphene 3.0 final rebase (#951) 2020-05-09 12:13:47 +01:00
test_converter.py Add BlankField and mount enums using it v3 (#1096) 2021-01-11 16:34:50 -08:00
test_fields.py WIP: Merge master into v3 (#1086) 2020-12-30 15:37:57 -08:00
test_forms.py Reformatted files using black 2018-07-19 16:52:24 -07:00
test_query.py Add enum support to filters and fix filter typing (v3) (#1119) 2021-02-22 20:21:32 -08:00
test_schema.py Warn if fields or exclude are not defined on DjangoObjectType (#981) 2020-06-11 11:09:52 +01:00
test_types.py Add enum support to filters and fix filter typing (v3) (#1119) 2021-02-22 20:21:32 -08:00
test_utils.py Added GraphQLTransactionTestCase (#1099) 2021-02-22 20:24:02 -08:00
test_views.py WIP: Merge master into v3 (#1086) 2020-12-30 15:37:57 -08:00
types.py WIP: Merge master into v3 (#1086) 2020-12-30 15:37:57 -08: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