Skip to content

Commit

Permalink
Fixed an naming problem with r14258. Thanks to Alex for the report.
Browse files Browse the repository at this point in the history
git-svn-id: http://code.djangoproject.com/svn/django/trunk@14260 bcc190cf-cafb-0310-a4f2-bffc1f526a37
  • Loading branch information
freakboy3742 committed Oct 18, 2010
1 parent f657079 commit 2db34d2
Show file tree
Hide file tree
Showing 3 changed files with 5 additions and 2 deletions.
3 changes: 2 additions & 1 deletion django/test/client.py
Expand Up @@ -26,7 +26,8 @@
from django.db import transaction, close_connection from django.db import transaction, close_connection
from django.test.utils import ContextList from django.test.utils import ContextList


all = ('Client', 'RequestFactory', 'encode_file', 'encode_multipart') __all__ = ('Client', 'RequestFactory', 'encode_file', 'encode_multipart')



BOUNDARY = 'BoUnDaRyStRiNg' BOUNDARY = 'BoUnDaRyStRiNg'
MULTIPART_CONTENT = 'multipart/form-data; boundary=%s' % BOUNDARY MULTIPART_CONTENT = 'multipart/form-data; boundary=%s' % BOUNDARY
Expand Down
1 change: 1 addition & 0 deletions django/test/testcases.py
Expand Up @@ -18,6 +18,7 @@
__all__ = ('DocTestRunner', 'OutputChecker', 'TestCase', 'TransactionTestCase', __all__ = ('DocTestRunner', 'OutputChecker', 'TestCase', 'TransactionTestCase',
'skipIfDBFeature', 'skipUnlessDBFeature') 'skipIfDBFeature', 'skipUnlessDBFeature')



try: try:
all all
except NameError: except NameError:
Expand Down
3 changes: 2 additions & 1 deletion django/test/utils.py
Expand Up @@ -8,9 +8,10 @@
from django.template import Template from django.template import Template
from django.utils.translation import deactivate from django.utils.translation import deactivate


all = ('Approximate', 'ContextList', 'setup_test_environment', __all__ = ('Approximate', 'ContextList', 'setup_test_environment',
'teardown_test_environment', 'get_runner') 'teardown_test_environment', 'get_runner')



class Approximate(object): class Approximate(object):
def __init__(self, val, places=7): def __init__(self, val, places=7):
self.val = val self.val = val
Expand Down

0 comments on commit 2db34d2

Please sign in to comment.