summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMads Jensen <mje@inducks.org>2020-08-13 13:02:56 +0200
committerMariusz Felisiak <felisiak.mariusz@gmail.com>2020-08-14 11:48:04 +0200
commit3a6fa1d962ad9bd5678290bc22dd35bff13eb1f5 (patch)
tree66bfd08c700744c436744d51f07eb5d7e2db83d5
parent3718bc5c8d738b392cb2f1c165dd5768b4c47151 (diff)
Added missing items to django.test.client.__all__ and django.test.utils.__all__.
-rw-r--r--django/test/client.py5
-rw-r--r--django/test/utils.py6
2 files changed, 8 insertions, 3 deletions
diff --git a/django/test/client.py b/django/test/client.py
index 41fe9e627b..1e6d9e2a39 100644
--- a/django/test/client.py
+++ b/django/test/client.py
@@ -30,7 +30,10 @@ from django.utils.http import urlencode
from django.utils.itercompat import is_iterable
from django.utils.regex_helper import _lazy_re_compile
-__all__ = ('Client', 'RedirectCycleError', 'RequestFactory', 'encode_file', 'encode_multipart')
+__all__ = (
+ 'AsyncClient', 'AsyncRequestFactory', 'Client', 'RedirectCycleError',
+ 'RequestFactory', 'encode_file', 'encode_multipart',
+)
BOUNDARY = 'BoUnDaRyStRiNg'
diff --git a/django/test/utils.py b/django/test/utils.py
index fec6e7f8a3..908cc38bcf 100644
--- a/django/test/utils.py
+++ b/django/test/utils.py
@@ -35,9 +35,11 @@ except ImportError:
__all__ = (
'Approximate', 'ContextList', 'isolate_lru_cache', 'get_runner',
- 'modify_settings', 'override_settings',
+ 'CaptureQueriesContext',
+ 'ignore_warnings', 'isolate_apps', 'modify_settings', 'override_settings',
+ 'override_system_checks', 'tag',
'requires_tz_support',
- 'setup_test_environment', 'teardown_test_environment',
+ 'setup_databases', 'setup_test_environment', 'teardown_test_environment',
)
TZ_SUPPORT = hasattr(time, 'tzset')