Commit 42d6afa4 authored by Ivan Tyagov's avatar Ivan Tyagov

Increase from 1MB to 10MB upload file size.

parent d04c9fa1
...@@ -48,7 +48,7 @@ def createDataStream(result, browser): ...@@ -48,7 +48,7 @@ def createDataStream(result, browser):
# tests upload data from file of 1Mb size # tests upload data from file of 1Mb size
ctrl = browser.mainForm.getControl(name='field_my_file') ctrl = browser.mainForm.getControl(name='field_my_file')
ctrl.add_file(io.BytesIO(generateString(1024)*1024), 'text/plain', 'test.txt') ctrl.add_file(io.BytesIO(generateString(1024)*1024*10), 'text/plain', 'test.txt')
# Submit the changes, record the time elapsed in seconds # Submit the changes, record the time elapsed in seconds
result('Save', result('Save',
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment