Loading django/test/client.py +2 −1 Original line number Diff line number Diff line Loading @@ -26,7 +26,8 @@ from django.utils.itercompat import is_iterable from django.db import transaction, close_connection from django.test.utils import ContextList all = ('Client', 'RequestFactory', 'encode_file', 'encode_multipart') __all__ = ('Client', 'RequestFactory', 'encode_file', 'encode_multipart') BOUNDARY = 'BoUnDaRyStRiNg' MULTIPART_CONTENT = 'multipart/form-data; boundary=%s' % BOUNDARY Loading django/test/testcases.py +1 −0 Original line number Diff line number Diff line Loading @@ -18,6 +18,7 @@ from django.utils.functional import wraps __all__ = ('DocTestRunner', 'OutputChecker', 'TestCase', 'TransactionTestCase', 'skipIfDBFeature', 'skipUnlessDBFeature') try: all except NameError: Loading django/test/utils.py +2 −1 Original line number Diff line number Diff line Loading @@ -8,9 +8,10 @@ from django.test import signals from django.template import Template from django.utils.translation import deactivate all = ('Approximate', 'ContextList', 'setup_test_environment', __all__ = ('Approximate', 'ContextList', 'setup_test_environment', 'teardown_test_environment', 'get_runner') class Approximate(object): def __init__(self, val, places=7): self.val = val Loading Loading
django/test/client.py +2 −1 Original line number Diff line number Diff line Loading @@ -26,7 +26,8 @@ from django.utils.itercompat import is_iterable from django.db import transaction, close_connection from django.test.utils import ContextList all = ('Client', 'RequestFactory', 'encode_file', 'encode_multipart') __all__ = ('Client', 'RequestFactory', 'encode_file', 'encode_multipart') BOUNDARY = 'BoUnDaRyStRiNg' MULTIPART_CONTENT = 'multipart/form-data; boundary=%s' % BOUNDARY Loading
django/test/testcases.py +1 −0 Original line number Diff line number Diff line Loading @@ -18,6 +18,7 @@ from django.utils.functional import wraps __all__ = ('DocTestRunner', 'OutputChecker', 'TestCase', 'TransactionTestCase', 'skipIfDBFeature', 'skipUnlessDBFeature') try: all except NameError: Loading
django/test/utils.py +2 −1 Original line number Diff line number Diff line Loading @@ -8,9 +8,10 @@ from django.test import signals from django.template import Template from django.utils.translation import deactivate all = ('Approximate', 'ContextList', 'setup_test_environment', __all__ = ('Approximate', 'ContextList', 'setup_test_environment', 'teardown_test_environment', 'get_runner') class Approximate(object): def __init__(self, val, places=7): self.val = val Loading