Fixed suggestion for format in test renderer

Rendered would suggest using format='JSON' when the right argument is
format='json'.
This commit is contained in:
Raphael Merx 2015-12-10 15:13:47 -08:00
parent e83175323b
commit fcc0a70f7c
1 changed files with 1 additions and 1 deletions

View File

@ -780,7 +780,7 @@ class MultiPartRenderer(BaseRenderer):
assert not isinstance(value, dict), (
"Test data contained a dictionary value for key '%s', "
"but multipart uploads do not support nested data. "
"You may want to consider using format='JSON' in this "
"You may want to consider using format='json' in this "
"test case." % key
)
return encode_multipart(self.BOUNDARY, data)