mirror of
https://github.com/Hopiu/django.git
synced 2026-04-18 05:51:21 +00:00
This implements support for asynchronous views, asynchronous tests, asynchronous middleware, and an asynchronous test client.
21 lines
767 B
Python
21 lines
767 B
Python
"""Django Unit Test framework."""
|
|
|
|
from django.test.client import (
|
|
AsyncClient, AsyncRequestFactory, Client, RequestFactory,
|
|
)
|
|
from django.test.testcases import (
|
|
LiveServerTestCase, SimpleTestCase, TestCase, TransactionTestCase,
|
|
skipIfDBFeature, skipUnlessAnyDBFeature, skipUnlessDBFeature,
|
|
)
|
|
from django.test.utils import (
|
|
ignore_warnings, modify_settings, override_settings,
|
|
override_system_checks, tag,
|
|
)
|
|
|
|
__all__ = [
|
|
'AsyncClient', 'AsyncRequestFactory', 'Client', 'RequestFactory',
|
|
'TestCase', 'TransactionTestCase', 'SimpleTestCase', 'LiveServerTestCase',
|
|
'skipIfDBFeature', 'skipUnlessAnyDBFeature', 'skipUnlessDBFeature',
|
|
'ignore_warnings', 'modify_settings', 'override_settings',
|
|
'override_system_checks', 'tag',
|
|
]
|