mirror of
https://github.com/graphql-python/graphene-django.git
synced 2025-01-31 03:34:13 +03:00
5cee41407c
* 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 |
||
---|---|---|
.. | ||
debug | ||
filter | ||
forms | ||
management | ||
rest_framework | ||
static/graphene_django | ||
templates/graphene | ||
tests | ||
utils | ||
__init__.py | ||
compat.py | ||
conftest.py | ||
constants.py | ||
converter.py | ||
fields.py | ||
registry.py | ||
settings.py | ||
types.py | ||
views.py |