Commit fcc0a70f by Raphael Merx

Fixed suggestion for format in test renderer

Rendered would suggest using format='JSON' when the right argument is
format='json'.
parent e8317532
......@@ -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)
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment