Commit message (Collapse) | Author | Age | Files | Lines | |
---|---|---|---|---|---|
* | Use correct variable when building message for exception | Ond?ej Nov? | 2016-03-10 | 1 | -1/+1 |
| | | | | | Author: Mike Gabriel <mike.gabriel@das-netzwerkteam.de> Origin: https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=695253 | ||||
* | Python 3: Always encode params if passed as text types | Nils Philippsen | 2015-08-19 | 1 | -2/+2 |
| | | | | Fixes tests.test_wsgiwrappers.test_wsgirequest_charset | ||||
* | Replace cgi.parse_qsl w/ six.moves.urllib.parse.parse_sqleliminate_cgi_parse_qsl_2eliminate_cgi_parse_qsl | Marc Abramowitz | 2015-04-30 | 1 | -2/+1 |
| | | | | | because `cgi.parse_qsl` is deprecated, according to https://docs.python.org/2/library/cgi.html#cgi.parse_qsl | ||||
* | Fix Python 3 issue in paste/fixture.py | Marc Abramowitz | 2015-04-30 | 1 | -1/+1 |
| | | | | by wrapping `map` with `list`. | ||||
* | Fix fixture on Python 3 | Victor Stinner | 2015-04-22 | 1 | -23/+49 |
| | | | | | | | | | | | | | | | | | * wsgi.input must be a binary file, not a text file * Fix fixture.TestApp.__str__() on Python 3: decode body from UTF-8 (with xmlcharrefreplace). * Fix fixture.TestResponse.goto() on Python 3: regex must use bytes, not Unicode. * Fix TestApp._check_status() on Python 3 - Decode body from UTF-8 (with xmlcharrefreplace) to format the error message. - Fix TestApp.encode_multipart() on Python 3: HTTP body must be bytes: encode lines to utf8 and use byte string literals. - Fix TestApp.post() on Python 3: default params must be bytes - Fix TestResponse.__repr__() on Python 3 - Fix TestApp on Python 3: encode params values to UTF-8 - Port TestApp._gen_request() to Python 3 | ||||
* | Python 3: Use six types for strings | Cyril Roelandt | 2014-03-18 | 1 | -7/+8 |
| | | | | | * Replace (str, unicode) with (six.binary_type, six.text_type) * Replace basestring with (six.binary_type, six.text_type) | ||||
* | Python 3: add parenthesis to print() to support Python 2 and Python 3 | Cyril Roelandt | 2014-03-18 | 1 | -14/+16 |
| | | | | Use also "from __future__ import print_function". | ||||
* | Python 3: don't use tuples in function prototype | Cyril Roelandt | 2014-03-18 | 1 | -1/+2 |
| | | | | Unpack explicitly in the body of the function | ||||
* | Python 3: use new names of standard library modules | Cyril Roelandt | 2014-03-18 | 1 | -14/+15 |
| | | | | Use "try/except ImportError" to try Python 2 and Python 3 names. | ||||
* | note return value of form.submit | Ian Bicking | 2010-09-02 | 1 | -7/+9 |
| | |||||
* | Fixed mustcontain(no=...) (#245) | ianb | 2008-11-16 | 1 | -1/+1 |
| | |||||
* | missing import | pjenvey | 2008-06-12 | 1 | -0/+1 |
| | |||||
* | deprecate setup_module | ianb | 2008-06-12 | 1 | -0/+4 |
| | |||||
* | fix docstring import typo (#272) | ianb | 2008-06-11 | 1 | -1/+1 |
| | |||||
* | Change the value of no-value checkboxes to 'on' instead of 'checked' | ianb | 2008-05-02 | 1 | -2/+1 |
| | |||||
* | with TestApp forms, don't submit forms with unnamed fields | ianb | 2008-05-01 | 1 | -0/+2 |
| | |||||
* | safer compare of ints with == instead of is | pjenvey | 2008-04-13 | 1 | -1/+1 |
| | |||||
* | Unicode TestApp Response __contains__ test works (#235) | ianb | 2008-03-26 | 1 | -0/+3 |
| | |||||
* | Requests can send more than one cookie (#238) | ianb | 2008-03-26 | 1 | -1/+2 |
| | |||||
* | only import webbrowser when it's needed | pjenvey | 2008-02-26 | 1 | -1/+1 |
| | |||||
* | Look for params values that have an .items method | ianb | 2008-02-17 | 1 | -0/+3 |
| | |||||
* | use basecookie instead of simplecookie | ianb | 2007-12-17 | 1 | -3/+3 |
| | |||||
* | Treat image button like submit button (#216) | ianb | 2007-12-17 | 1 | -0/+2 |
| | |||||
* | set CONTENT_TYPE on non-file uploads too | ianb | 2007-09-15 | 1 | -0/+2 |
| | |||||
* | default value for text fields is empty string -- at least, that's how moz ↵ | novalis | 2007-08-23 | 1 | -1/+6 |
| | | | | seems to do it | ||||
* | tag names include namespace, so form:error tags are not incorrectly picked up | novalis | 2007-08-22 | 1 | -1/+1 |
| | |||||
* | tag names include namespace | novalis | 2007-08-22 | 1 | -1/+1 |
| | |||||
* | Fix problem with .form and named forms | ianb | 2007-07-13 | 1 | -4/+7 |
| | |||||
* | Added REST methods to Test, from Anders Pearson | ianb | 2007-05-25 | 1 | -14/+58 |
| | |||||
* | Allow list of status in test calls | ianb | 2007-01-24 | 1 | -0/+7 |
| | |||||
* | added optional pre and post do_request hooks into TestApp | pjenvey | 2007-01-23 | 1 | -1/+15 |
| | |||||
* | convert old-style classes to new-style classes | pjenvey | 2007-01-05 | 1 | -1/+1 |
| | |||||
* | fix #127: paste.fixture doesn't correctly handle empty action | ianb | 2006-11-02 | 1 | -1/+1 |
| | |||||
* | A big commit, primarily aesthetic/whitespace in nature. This is the result ↵ | ianb | 2006-10-20 | 1 | -0/+4 |
| | | | | of running pylint over the codebase. Some minor/hard-to-reach typos were also picked up. | ||||
* | Don't redirect all stdout when running a request -- capture stdout, but also ↵ | ianb | 2006-09-22 | 1 | -1/+21 |
| | | | | let it go to the real stdout | ||||
* | Fix case when using TestApp, and params={'key': ['list', 'of', 'values']}, ↵ | ianb | 2006-09-10 | 1 | -1/+1 |
| | | | | as reported by Syver Enstad | ||||
* | Apply the fix from the last commit properly (headers in request) | ianb | 2006-08-16 | 1 | -12/+17 |
| | |||||
* | The headers variable left out the special case for content_type and ↵ | ianb | 2006-08-16 | 1 | -1/+7 |
| | | | | content_length | ||||
* | doc format fix; better error message from Jamie Wilkinson | ianb | 2006-08-03 | 1 | -0/+2 |
| | |||||
* | Fixed problem reported by Charlie Groves with TestApp file uploads with ↵ | ianb | 2006-07-20 | 1 | -1/+1 |
| | | | | length-two tuples | ||||
* | Added a 'no' argument to mustcontain | ianb | 2006-07-15 | 1 | -1/+17 |
| | |||||
* | Put in a test to keep paste.testing_variables from clobbering an attribute ↵ | ianb | 2006-06-21 | 1 | -0/+5 |
| | | | | of the response object | ||||
* | fixed typo preventing parsing of html forms containing radio buttons | pjenvey | 2006-06-16 | 1 | -1/+1 |
| | | | | | submitted by: Jonas Borgstrom resolves: #115 | ||||
* | Handle case with testapp.post(params={}) | ianb | 2006-06-04 | 1 | -1/+1 |
| | |||||
* | Fixing default {}, since it will always be retained. Creating a {} for each ↵ | bbangert | 2006-06-03 | 1 | -2/+10 |
| | | | | call where its not passed. | ||||
* | Use ; as the separator for searching paths on Win32 | thejimmyg | 2006-03-05 | 1 | -1/+4 |
| | |||||
* | Added a .header_dict and .cookies_set attributes to TestResponse | ianb | 2006-02-28 | 1 | -0/+4 |
| | |||||
* | Stupid typos from last commit | ianb | 2006-02-28 | 1 | -1/+1 |
| | |||||
* | If we don't expect errors in wsgi.errors, raise an exception immediately ↵ | ianb | 2006-02-28 | 1 | -1/+5 |
| | | | | when the error message is printed, instead of waiting until the end | ||||
* | Allow any stringifiable argument to be passed to TestApp.get for the URL | ianb | 2006-02-27 | 1 | -0/+1 |
| |