Skip to content

Commit

Permalink
fix(tests): Failing test on Mac
Browse files Browse the repository at this point in the history
Don't know the root cause, but on Linux the values are not in list,
not checked the package versions yet, but this check doesn't make harm
It seems that this conversion happens implicitly somewhere
  • Loading branch information
dmitry.dygalo authored and Stranger6667 committed Dec 12, 2019
1 parent e0cd6d0 commit 2670db2
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion test/apps/_flask/__init__.py
Expand Up @@ -71,7 +71,7 @@ def flaky():
@app.route("/api/multipart", methods=["POST"])
def multipart():
files = {name: value.stream.read().decode() for name, value in request.files.items()}
return jsonify(**files, **request.form)
return jsonify(**files, **request.form.to_dict())

@app.route("/api/teapot", methods=["POST"])
def teapot():
Expand Down

0 comments on commit 2670db2

Please sign in to comment.