hurl/integration/tests/post_file.py

9 lines
167 B
Python
Raw Normal View History

2020-08-27 10:07:46 +03:00
from flask import request
from tests import app
@app.route('/post-file', methods=['POST'])
def post_file():
assert request.data == b'Hello World!'
return ''