MCPcopy Create free account
hub / github.com/Pylons/webtest / MultipleUploadFileApp

Class MultipleUploadFileApp

tests/test_forms.py:890–904  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

888
889
890class MultipleUploadFileApp(SingleUploadFileApp):
891
892 body = b"""
893<html>
894 <head><title>form page</title></head>
895 <body>
896 <form method="POST" id="file_upload_form"
897 enctype="multipart/form-data">
898 <input name="files-field" type="file" value="some/path/file.txt" multiple="" />
899 <input name="int-field" type="text" value="" />
900 <input name="button" type="submit" value="single">
901 </form>
902 </body>
903</html>
904"""
905
906
907class TestFileUpload(unittest.TestCase):

Callers 1

test_multiple_fileMethod · 0.85

Calls

no outgoing calls

Tested by 1

test_multiple_fileMethod · 0.68

Used in the wild real call sites across dependent graphs

searching dependent graphs…