Added missing items to django.test.client.__all__ and django.test.utils.__all__.

This commit is contained in:
Mads Jensen 2020-08-13 13:02:56 +02:00 committed by Mariusz Felisiak
parent 3718bc5c8d
commit 3a6fa1d962
2 changed files with 8 additions and 3 deletions

View File

@ -30,7 +30,10 @@ from django.utils.http import urlencode
from django.utils.itercompat import is_iterable from django.utils.itercompat import is_iterable
from django.utils.regex_helper import _lazy_re_compile 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' BOUNDARY = 'BoUnDaRyStRiNg'

View File

@ -35,9 +35,11 @@ except ImportError:
__all__ = ( __all__ = (
'Approximate', 'ContextList', 'isolate_lru_cache', 'get_runner', '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', 'requires_tz_support',
'setup_test_environment', 'teardown_test_environment', 'setup_databases', 'setup_test_environment', 'teardown_test_environment',
) )
TZ_SUPPORT = hasattr(time, 'tzset') TZ_SUPPORT = hasattr(time, 'tzset')