Author: russellm Date: 2010-10-18 11:08:25 -0500 (Mon, 18 Oct 2010) New Revision: 14260
Modified: django/trunk/django/test/client.py django/trunk/django/test/testcases.py django/trunk/django/test/utils.py Log: Fixed an naming problem with r14258. Thanks to Alex for the report. Modified: django/trunk/django/test/client.py =================================================================== --- django/trunk/django/test/client.py 2010-10-18 16:01:11 UTC (rev 14259) +++ django/trunk/django/test/client.py 2010-10-18 16:08:25 UTC (rev 14260) @@ -26,8 +26,9 @@ 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 CONTENT_TYPE_RE = re.compile('.*; charset=([\w\d-]+);?') Modified: django/trunk/django/test/testcases.py =================================================================== --- django/trunk/django/test/testcases.py 2010-10-18 16:01:11 UTC (rev 14259) +++ django/trunk/django/test/testcases.py 2010-10-18 16:08:25 UTC (rev 14260) @@ -18,6 +18,7 @@ __all__ = ('DocTestRunner', 'OutputChecker', 'TestCase', 'TransactionTestCase', 'skipIfDBFeature', 'skipUnlessDBFeature') + try: all except NameError: Modified: django/trunk/django/test/utils.py =================================================================== --- django/trunk/django/test/utils.py 2010-10-18 16:01:11 UTC (rev 14259) +++ django/trunk/django/test/utils.py 2010-10-18 16:08:25 UTC (rev 14260) @@ -8,9 +8,10 @@ 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 -- You received this message because you are subscribed to the Google Groups "Django updates" group. To post to this group, send email to django-upda...@googlegroups.com. To unsubscribe from this group, send email to django-updates+unsubscr...@googlegroups.com. For more options, visit this group at http://groups.google.com/group/django-updates?hl=en.