graphene-django/graphene_django
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
..
debug Merge branch 'master' into v3 2020-06-27 11:14:09 +01:00
filter Add enum support to filters and fix filter typing (v3) (#1119) 2021-02-22 20:21:32 -08:00
forms WIP: Merge master into v3 (#1086) 2020-12-30 15:37:57 -08:00
management Fix schema dump on windows (#1123) 2021-02-22 20:20:59 -08:00
rest_framework WIP: Merge master into v3 (#1086) 2020-12-30 15:37:57 -08:00
static/graphene_django Fix subscriptions in JS (#1124) 2021-02-22 20:19:20 -08:00
templates/graphene Add headers support to GraphiQL (#1016) 2020-08-07 10:13:26 +01:00
tests Added GraphQLTransactionTestCase (#1099) 2021-02-22 20:24:02 -08:00
utils Added GraphQLTransactionTestCase (#1099) 2021-02-22 20:24:02 -08:00
__init__.py WIP: Merge master into v3 (#1086) 2020-12-30 15:37:57 -08:00
compat.py Fix project setup (#1087) 2021-01-02 09:46:00 -08:00
conftest.py Make tests order independent (#932) 2020-04-20 13:23:20 +01:00
constants.py WIP: Merge master into v3 (#1086) 2020-12-30 15:37:57 -08:00
converter.py Add enum support to filters and fix filter typing (v3) (#1119) 2021-02-22 20:21:32 -08:00
fields.py WIP: Merge master into v3 (#1086) 2020-12-30 15:37:57 -08:00
registry.py Reformatted files using black 2018-07-19 16:52:24 -07:00
settings.py WIP: Merge master into v3 (#1086) 2020-12-30 15:37:57 -08:00
types.py Merge branch 'master' into v3 2020-08-12 07:06:35 +01:00
views.py WIP: Merge master into v3 (#1086) 2020-12-30 15:37:57 -08:00