hurl/integration/tests/post_file.py
2020-08-27 16:44:57 +02:00

9 lines
167 B
Python

from flask import request
from tests import app
@app.route('/post-file', methods=['POST'])
def post_file():
assert request.data == b'Hello World!'
return ''