mirror of https://github.com/django/django.git
Fixed #9117: Made the test client a new-style class. Thanks to Jan Oberst for the report.
git-svn-id: http://code.djangoproject.com/svn/django/trunk@9066 bcc190cf-cafb-0310-a4f2-bffc1f526a37
This commit is contained in:
parent
a27ff1c8ae
commit
eeb230aa1c
|
@ -134,8 +134,8 @@ def encode_file(boundary, key, file):
|
||||||
'',
|
'',
|
||||||
file.read()
|
file.read()
|
||||||
]
|
]
|
||||||
|
|
||||||
class Client:
|
class Client(object):
|
||||||
"""
|
"""
|
||||||
A class that can act as a client for testing purposes.
|
A class that can act as a client for testing purposes.
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue