Commit message (Collapse) | Author | Age | Files | Lines | |
---|---|---|---|---|---|
* | Remove components from webtest no longer presented by cheroot. Fixes #1708. | Jason R. Coombs | 2018-05-11 | 1 | -2/+2 |
| | |||||
* | Run pre-commitv12.0.1 | Jason R. Coombs | 2017-11-20 | 1 | -3/+3 |
| | |||||
* | Restore cherrypy.test.webtest as a module to ensure it and its contents are ↵ | Jason R. Coombs | 2017-11-20 | 1 | -0/+11 |
| | | | | importable for compatibility. Added a deprecation warning to encourage projects to move away from using it. | ||||
* | Use cheroot 5.9 for webtest module. | Jason R. Coombs | 2017-11-16 | 1 | -622/+0 |
| | |||||
* | whitespace removal | Dan Vinakovsky | 2017-08-29 | 1 | -1/+1 |
| | |||||
* | add tests | Dan Vinakovsky | 2017-08-29 | 1 | -0/+10 |
| | |||||
* | Use six for http imports | Jason R. Coombs | 2017-07-09 | 1 | -2/+2 |
| | |||||
* | PEP8fy codebase: eliminated F821 flake8 error | Sviatoslav Sydorenko | 2017-03-12 | 1 | -3/+2 |
| | |||||
* | PEP8fy codebase: eliminated E121 and E131 flake8 errors | Sviatoslav Sydorenko | 2017-03-12 | 1 | -3/+3 |
| | |||||
* | PEP8fy codebase: eliminated W503 flake8 error | Sviatoslav Sydorenko | 2017-03-12 | 1 | -3/+6 |
| | |||||
* | PEP8fy codebase: eliminated E305 flake8 error | Sviatoslav Sydorenko | 2017-03-11 | 1 | -2/+0 |
| | |||||
* | Add PATCH to method_with_bodies in .test.webtest | Sviatoslav Sydorenko | 2017-01-01 | 1 | -1/+1 |
| | | | | | | It looks there are some places in code not listing all HTTP methods with bodies allowed. Fixing this for cherrypy.test.webtest Ref: #1517 | ||||
* | Convert all strings to conform single-quoted style | Sviatoslav Sydorenko | 2016-09-08 | 1 | -57/+57 |
| | | | | pre-commit run double-quote-string-fixer --all-files | ||||
* | Use the preferred name text_or_bytes to avoid conflation with 'basestring' ↵ | Jason R. Coombs | 2016-07-24 | 1 | -3/+3 |
| | | | | which has no equivalent on Python 3. | ||||
* | Remove unused imports and wildcard import | Jason R. Coombs | 2016-07-24 | 1 | -9/+8 |
| | |||||
* | Remove unused import | Jason R. Coombs | 2016-07-24 | 1 | -1/+1 |
| | |||||
* | Replaced 'unicodestr' with 'six.text_type' | Jason R. Coombs | 2016-06-05 | 1 | -7/+7 |
| | |||||
* | Rely on six for Python 3 differentiation | Jason R. Coombs | 2016-06-05 | 1 | -5/+7 |
| | |||||
* | Allow webtest interactivity to be disabled with an environment variable. | Jason R. Coombs | 2016-04-30 | 1 | -1/+25 |
| | |||||
* | Substitute the `issubclass` function to `isinstance` to avoid the use of ↵ | Joel Rivera | 2016-03-10 | 1 | -2/+1 |
| | | | | magical properties | ||||
* | Add new argument to openURL for the testsuite to be able to | Joel Rivera | 2016-03-03 | 1 | -8/+25 |
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | raise subclasses of socket.error (since python3.3 OSError) instead of retrying. This fixes the KeyboardError problem for 3.5 by specifying that subclasses of BadStatusLine can be raised. The longer explanation of the fix: From python3.5 a new exception is retuned when the connection ends abruptly: http.client.RemoteDisconnected RemoteDisconnected is a subclass of: (ConnectionResetError, http.client.BadStatusLine) and ConnectionResetError is an indirect subclass of: OSError From python 3.3 an up socket.error is an alias to OSError following PEP-3151, therefore http.client.RemoteDisconnected is considered a socket.error. raise_subcls specifies the classes that are not going to be considered as a socket.error for the retries. Given that RemoteDisconnected is part BadStatusLine we can use the same call for all py3 versions without sideffects. python < 3.5 will raise directly BadStatusLine which is not a subclass for socket.error/OSError. Fixes issue #1406. | ||||
* | Remove a hacky monkeypatch. Replace with a simple decoding of the URL on ↵ | Jason R. Coombs | 2016-02-06 | 1 | -32/+5 |
| | | | | Python 3. | ||||
* | Remove compatibility code | Jason R. Coombs | 2016-02-06 | 1 | -11/+1 |
| | |||||
* | More PEP8 work. | Gustavo Picon | 2014-01-12 | 1 | -8/+19 |
| | |||||
* | More pep8 cleanups | Gustavo Picon | 2014-01-12 | 1 | -2/+2 |
| | |||||
* | Running: autopep8 -vvvvv -i `find . -name '*.py'` | Gustavo Picon | 2014-01-12 | 1 | -7/+19 |
| | | | | | --HG-- branch : autopep8 | ||||
* | Fixed failure on Python 2 in ↵ | Jason R. Coombs | 2012-12-26 | 1 | -1/+1 |
| | | | | | | | cherrypy.test.test_request_obj:RequestObjectTests.test_encoded_headers when the header value was unicode. --HG-- branch : cherrypy-3.2.x | ||||
* | Fixed failing test case when mimetypes.guess_type('foo.jpeg')[0] == ↵ | Jason R. Coombs | 2012-03-13 | 1 | -1/+13 |
| | | | | | | | 'image/pjpeg' --HG-- branch : cherrypy-3.2.x | ||||
* | Re-saved with whitespace cleanup | Jason R. Coombs | 2012-03-13 | 1 | -9/+7 |
| | | | | | --HG-- branch : cherrypy-3.2.x | ||||
* | A couple of Python2.3 fixes. | Robert Brewer | 2011-07-02 | 1 | -3/+3 |
| | |||||
* | Bye bye, py2/3. | Robert Brewer | 2011-07-02 | 1 | -0/+575 |
| | |||||
* | Bringing python3 back into trunk with its own py3 folder; what was in trunk ↵trunk | Robert Brewer | 2011-02-25 | 1 | -535/+0 |
| | | | | goes in the py2 folder, and we can use a single setup.py to install either, depending on the version of Python that runs setup.py install. | ||||
* | Freeow. The magic cherrypy/_cpcompat.py module to take all our py3k fears away. | Robert Brewer | 2011-02-24 | 1 | -10/+17 |
| | |||||
* | #948 System.in cannot be used in a module that will be loaded by Jython and ↵ | Sylvain Hellegouarch | 2010-09-27 | 1 | -2/+1 |
| | | | | CPython as it's an invalid syntax under CPython | ||||
* | #948 implementing getchar on the Jython platform | Sylvain Hellegouarch | 2010-09-27 | 1 | -4/+11 |
| | |||||
* | A couple test tweaks. | Robert Brewer | 2010-04-24 | 1 | -1/+0 |
| | |||||
* | Convert the tests to use nose instead of our own runner. This strips out ↵ | Joseph Tate | 2010-02-24 | 1 | -125/+51 |
| | | | | | | much coverage and profiling (handled by nose) and lets you focus on writing tests. The biggest changes that have to be done in the tests classes is you have to put the "setup_server" method on the class(es) that need them when running. If you need it for multiple classes, you can use staticmethod() to attach it to multiple classes without using inheritance. | ||||
* | A couple syncs with python3. | Robert Brewer | 2009-10-17 | 1 | -8/+8 |
| | |||||
* | Removed py3print. | Robert Brewer | 2009-06-14 | 1 | -12/+12 |
| | |||||
* | trunk - making assertInBody the same as in python3 branch. | Lakin Wecker | 2009-06-02 | 1 | -1/+1 |
| | |||||
* | trunk: more syntax syncs with python3, including a couple bugfixes that were ↵ | Robert Brewer | 2009-06-02 | 1 | -1/+1 |
| | | | | done in the python3 branch | ||||
* | trunk - adding a flush that is needed in python3. Might be superfluous here. | Lakin Wecker | 2009-06-01 | 1 | -1/+2 |
| | |||||
* | trunk - a missing import. + whitespace fixes + callable calls removed + ↵ | Lakin Wecker | 2009-06-01 | 1 | -0/+1 |
| | | | | python3-esque raising of exceptions | ||||
* | trunk - adding a py3util module that will normalize as many differences ↵ | Lakin Wecker | 2009-06-01 | 1 | -12/+12 |
| | | | | between this branch and the python3 branch as it can. First it includes a py3print call who's signature matches that of print in python3. Also removed a few byte strings of the form b'' | ||||
* | trunk - adding test_auth_basic and test_auth_digest into the normal test ↵ | Lakin Wecker | 2009-06-01 | 1 | -0/+2 |
| | | | | runs. Also fixing those tests for the new content-type header. Finally, flushing stdout in logtest and webtest. | ||||
* | Added test to allow checking for existance of a certain value in a ↵ | jaraco | 2009-03-31 | 1 | -0/+11 |
| | | | | comma-delimited list in headers | ||||
* | cherrypy.test - fixing a buglet in r2145 where the unused parts were in the ↵ | Lakin Wecker | 2009-03-04 | 1 | -1/+1 |
| | | | | wrong order. Also updating test/test.py's server to use the same import pattern. | ||||
* | cherrypy.test - updating webtest/helper to allow test names to contain full ↵ | Lakin Wecker | 2009-03-04 | 1 | -0/+4 |
| | | | | package names, like: cherrypy.test.test_tidy etc. | ||||
* | Refactored the interface() function a bit. New WebCase.get_conn method. | Robert Brewer | 2009-02-10 | 1 | -32/+34 |
| | |||||
* | Whew. Fixed the whole test suite to properly handle the --host arg. | Robert Brewer | 2008-11-08 | 1 | -0/+14 |
| |