Source code for django_functest.files
from webtest import Upload as WebTestUpload
[docs]class Upload(WebTestUpload):
"""
A file to upload::
>>> Upload('filename.txt', b'data')
<Upload "filename.txt">
"""
# We deliberately override the docstring of WebTestUpload above,
# to provide help that works for Selenium too.