summaryrefslogtreecommitdiff
path: root/webtest
Commit message (Collapse)AuthorAgeFilesLines
...
* | Fixed #108 cgi.parse_qsl is pending deprecationGael Pasgrimaud2014-04-161-2/+1
| |
* | Fixed #73. Python < 2.6.5 does not support unicode as keyword arguments names.Gael Pasgrimaud2014-04-161-0/+7
| |
* | Fixed #92 You can now override TestApp.JSONEncoder to use a custom encoderGael Pasgrimaud2014-04-162-7/+10
| |
* | add authorization propertyGael Pasgrimaud2014-04-162-1/+38
| |
* | Fixed #107 Explicit error message when WSGIProxy2 is not installerGael Pasgrimaud2014-04-151-2/+9
|/
* Allow .select() on select fields.Markus Bertheau2014-01-231-16/+22
| | | | This just moves the implementation from Form to Select.
* Allow selecting by text for multi selectsMarkus Bertheau2014-01-231-0/+31
|
* Allow selecting by text for single selectsMarkus Bertheau2014-01-231-2/+19
|
* Modify selects and radio fields to store the option text as wellMarkus Bertheau2014-01-231-9/+11
| | | | in preparation for allowing selecting an option by its text.
* resolve conflictGael Pasgrimaud2014-01-171-6/+13
|\
| * Allow selecting submit button by valueMarkus Bertheau2014-01-171-6/+13
| |
* | Ignore the value attribute of <input type="file">Markus Bertheau2014-01-161-0/+3
|/ | | | | | | | 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"
* Merge pull request #90 from lyndsysimon/configurable_bs4Gael Pasgrimaud2013-11-223-5/+12
|\ | | | | Adds ability to specify an HTML parser
| * Adds ability to specify an HTML parserLyndsy Simon2013-10-073-5/+12
| |
* | Make StopableWSGIServer thread daemonicLaurence Rowe2013-11-131-0/+1
|/ | | Ensures that the server thread cannot prevent the process from exiting.
* Make sure Upload.content_type is not ignoredMarius Gedminas2013-09-181-1/+1
| | | | | | | | 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 specifying the MIME type of an uploaded fileMarius Gedminas2013-09-162-9/+19
| | | | Fixes #86
* Allow assigning a list to a set of same-named checkboxes.Carl Meyer2013-08-301-4/+14
|
* Remove old (and broken?) casperjs/selenium backward compat imports.Gael Pasgrimaud2013-08-221-16/+0
|
* fix 71Domen Kožar2013-08-161-0/+3
|
* added shortucts for xhr request; test for added codeMax Kharandziuk2013-08-131-20/+47
|
* Merge pull request #77 from homm/masterDomen Kožar2013-08-071-2/+2
|\ | | | | Fix json detection in response
| * Fix json detection in responsehomm2013-08-021-2/+2
| |
* | Decode the content before returning itAlexis Métaireau2013-08-051-0/+4
| |
* | Decode the content before returning itAlexis Métaireau2013-08-051-0/+1
|/
* Fix default value for delete params argument.Nathan Ostgard2013-07-311-2/+3
| | | | This fixes #50 in Pylons/webtest.
* Fixed #72. Use WSGIServer new api even if there waitress has backward compat.Gael Pasgrimaud2013-06-021-4/+4
|
* Fix typo in docstringDesmond Brand2013-05-071-1/+1
|
* remove leading newline from textareaVictor Safronovich2013-05-041-1/+7
|
* origin_req_host is an attribute. see #64Gael Pasgrimaud2013-04-171-3/+4
|
* merge. fixed #65Gael Pasgrimaud2013-04-171-1/+1
|\
| * Do not alter the BeautifulSoup object when parsing forms.Georges Dubus2013-04-171-1/+1
| |
* | allow to use a fixed StopableWSGIServerGael Pasgrimaud2013-04-171-1/+2
| |
* | fixed #64Gael Pasgrimaud2013-04-171-5/+2
|/
* Handle the short form of <select multiple>Marius Gedminas2013-04-011-1/+1
| | | | | | 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).
* That should have been select.error.Laurence Rowe2013-03-281-1/+2
|
* Correctly handle <option> elements with no value attributeMarius Gedminas2013-03-281-1/+1
| | | | | | 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".
* Ignore socket.error following StopableWSGIServer.shutdown.Laurence Rowe2013-03-271-1/+8
|
* merge. fixed #59Gael Pasgrimaud2013-03-271-2/+3
|\
| * Support for redirects having relative "Location" headerAndrey Lebedev2013-03-221-2/+3
| |
* | All <button> elements are treated as submit controlsAndrey Lebedev2013-03-221-0/+2
|/
* Treat strings in the WSGI environment as native strings (i.e. different ↵Wolfgang Schnerring2013-03-181-3/+7
| | | | things in py2/py3) according to PEP-3333
* Support secure cookiesAndrey Lebedev2013-03-081-0/+15
| | | | | | Add missing methods to _RequestCookieAdapter to comply with requirements of urllib2.Request interfaces (specified at http://docs.python.org/2/library/cookielib.html#cookielib.CookieJar.add_cookie_header)
* Allow TestResponse.click() to match HTML content as well as text content.Timothy Elliott2013-03-061-1/+1
| | | | | This brings TestResponse.click() in alignment with the documentation, which states that description will match "HTML and all".
* TestResponse.maybe_follow() methodMikhail Korobov2013-03-041-6/+25
|
* Don't let BeautifulSoup use lxml. Fix GH-51Mikhail Korobov2013-03-032-2/+2
|
* correct api method linksDomen Kožar2013-03-021-5/+5
|
* improve TestResponse api docs a bitDomen Kožar2013-03-021-7/+8
|
* re-allow to use some unknow field typeGael Pasgrimaud2013-02-271-8/+8
|
* Added password class to Field.classes of type Textdiarmuidbourke2013-02-261-0/+2
| | | This fixes the case where you have an input type='password' and the value attribute is never set.