summaryrefslogtreecommitdiff
path: root/tests/test_forms.py
Commit message (Collapse)AuthorAgeFilesLines
* fixed #193Gael Pasgrimaud2018-05-181-0/+15
|
* Preserve submit order for radio inputs.Florian Schulze2017-10-091-0/+30
|
* Fix fails in existing tests from unicode headersBrendan McCollam2017-05-021-0/+10
|
* fixed #146Gael Pasgrimaud2017-04-121-0/+21
|
* Fix #173: Do not omit file uploads without a file from post.Michael Howitz2017-02-051-3/+7
|
* reset values of select multipleYannick Chabbert2015-05-291-0/+14
|
* Fixed #110. Don't ignore forced value on Radio inputZeb DeOs2014-04-241-0/+10
|
* pep8 everywhereGael Pasgrimaud2014-04-161-23/+19
|
* Allow selecting by text for multi selectsMarkus Bertheau2014-01-231-0/+12
|
* Allow selecting by text for single selectsMarkus Bertheau2014-01-231-0/+11
|
* resolve conflictGael Pasgrimaud2014-01-171-0/+21
|\
| * Allow selecting submit button by valueMarkus Bertheau2014-01-171-0/+21
| |
* | Ignore the value attribute of <input type="file">Markus Bertheau2014-01-161-1/+1
|/ | | | | | | | Browsers do the same thing, see http://stackoverflow.com/questions/20537696/remember-and-repopulate-file-input/20537822#20537822 Without this, submitting the form as is gives ValueError: upload_files need to be a list of tuples of (fieldname, filename, filecontent, mimetype) or (fieldname, filename, filecontent) or (fieldname, filename); you gave: "['file-field', u's', u'o', u'm', u'e', u'/', u'p', u'a', u't', u'h', u'/', u'f', u'i', u'l', u'e', u"
* Make sure Upload.content_type is not ignoredMarius Gedminas2013-09-181-2/+22
| | | | | | | | Looks like there's a bazillion methods of specifying files you want to upload with a form, and I missed one of them. This adds a missing test case and fixes the bug. A followup fix for issue #86.
* Allow assigning a list to a set of same-named checkboxes.Carl Meyer2013-08-301-2/+10
|
* remove leading newline from textareaVictor Safronovich2013-05-041-0/+7
|
* Test and changelog entry for #65.Georges Dubus2013-04-171-0/+4
|
* Handle the short form of <select multiple>Marius Gedminas2013-04-011-3/+29
| | | | | | See http://www.w3.org/TR/REC-html40/interact/forms.html#adef-multiple if you need convincing that this is valid HTML (first example, a couple of pages down).
* Correctly handle <option> elements with no value attributeMarius Gedminas2013-03-281-1/+81
| | | | | | E.g. http://www.w3.org/TR/REC-html40/interact/forms.html#edef-OPTION clearly states that the value attribute of OPTION elements "defauls to element content".
* All <button> elements are treated as submit controlsAndrey Lebedev2013-03-221-1/+7
|
* test for unknow fields; move some html in real html filesGael Pasgrimaud2013-02-271-212/+52
|
* Tests for input fields of type password.Diarmuid Bourke2013-02-261-0/+24
| | | | This checks that input fields with type password work and act like text input fields.
* improve test about files uploadGael Pasgrimaud2013-02-231-3/+14
|
* pep8 stuffGael Pasgrimaud2013-02-231-4/+3
|
* Improve webtest.response.TestResponse coverageStéphane Klein2013-02-221-1/+12
|
* Replaced assert by unittest's assertsArthur Vuillard2013-02-221-1/+3
|
* Replaced assert by unittest's assertsArthur Vuillard2013-02-221-9/+11
|
* Add tests for uploading invalid files exceptionsChristophe de Vienne2013-02-221-0/+23
|
* typo / use non unicode file for testingGael Pasgrimaud2013-02-221-0/+2
|
* use unicode_literals in test_forms.pyDomen Kožar2013-02-221-18/+19
|
* merge relevant stuff into test_forms.pyDomen Kožar2013-02-221-1/+778
|
* 100% coverage on webtest.formsGael Pasgrimaud2013-02-211-0/+26
|
* pep8Gael Pasgrimaud2013-02-211-5/+4
|
* Test selection api from formArthur Vuillard2013-02-211-0/+8
|
* Little cleaning in test_forms.pyArthur Vuillard2013-02-211-20/+12
|
* Fix import in tests and python3Arthur Vuillard2013-02-211-1/+1
|
* Add a test on forcing (and unforcing) value with select fieldArthur Vuillard2013-02-211-0/+24
|
* First test of the forms module (test that you cannot set a value for a ↵Arthur Vuillard2013-02-211-0/+24
submit field)