summaryrefslogtreecommitdiff
path: root/cherrypy/test
Commit message (Collapse)AuthorAgeFilesLines
* Fix test_native to fail on error responsebugfix/native-http-server-py3Sviatoslav Sydorenko2019-06-231-1/+4
| | | | | Ref: * https://github.com/cherrypy/cherrypy/pull/1712/files#diff-38455dfb545934fdb8aaae27bbfd32adR33
* Add test capturing expectation that 'wait' will publish periodically to ↵Jason R. Coombs2019-03-271-1/+13
| | | | 'channel'.
* Extract variable 'flow' for better readability.Jason R. Coombs2019-03-271-6/+8
|
* Once again, expect test_2_File_Concurrency to fail until a fix can be devised.Jason R. Coombs2019-03-271-0/+1
| | | | This reverts commit 58a6e40b7bdc4adfe03e57f918ab62789cfbe366.
* Merge branch 'maint/17.x'Jason R. Coombs2018-11-231-1/+5
|\
| * Fix test failures on pytest 4v17.4.1Jason R. Coombs2018-11-231-1/+5
| |
| * Don't convert bytes headers to strh3llrais3r2018-11-041-0/+7
| | | | | | | | | | Backport https://github.com/cherrypy/cherrypy/pull/1736 Also fixes https://github.com/Lawouach/WebSocket-for-Python/pull/252
* | Check there's no errors during concurrency testSviatoslav Sydorenko2018-09-301-0/+1
| |
* | Fix status code assertions in session testsSviatoslav Sydorenko2018-09-301-3/+3
| |
* | Use assert statements in sessions mostlySviatoslav Sydorenko2018-09-301-48/+47
| |
* | Fix test issues caused by ignoring session testSviatoslav Sydorenko2018-09-301-4/+4
| | | | | | | | Close #1534
* | Fix test issue introduced by fixing #794Sviatoslav Sydorenko2018-09-301-2/+2
| | | | | | | | Ref https://github.com/cherrypy/cherrypy/commit/96d251c
* | Unexpect test_2_File_Concurrency to failSviatoslav Sydorenko2018-09-301-1/+0
| | | | | | | | Fix #1306
* | Fix pre-commit complaintSviatoslav Sydorenko2018-09-101-1/+4
| |
* | Revert "Use UNIX-socket based memcached connection"Sviatoslav Sydorenko2018-09-101-5/+29
| | | | | | | | This reverts commit 471ae664021fd282217d2e0ed607a697fb01ece6.
* | Revert "Forcefully stringify memcached socket path"Sviatoslav Sydorenko2018-09-101-1/+1
| | | | | | | | This reverts commit 43c83f36f36ce0f04d590b83017526429cf217b2.
* | Forcefully stringify memcached socket pathSviatoslav Sydorenko2018-09-101-1/+1
| |
* | Use UNIX-socket based memcached connectionSviatoslav Sydorenko2018-09-101-29/+8
| |
* | Put check for memcache client into fixtureSviatoslav Sydorenko2018-09-101-1/+6
| |
* | Fix reason for skipif in memcached test suiteSviatoslav Sydorenko2018-09-101-1/+1
| |
* | Skip memcached tests under WindowsSviatoslav Sydorenko2018-09-101-0/+5
| |
* | Improve memcache test skippingSviatoslav Sydorenko2018-09-101-21/+13
| |
* | Fix memcached test skippingSviatoslav Sydorenko2018-09-101-2/+11
| |
* | Move exception trapping to the right placeSviatoslav Sydorenko2018-09-091-15/+14
| |
* | Fix catching "memcached unavailable" exceptionSviatoslav Sydorenko2018-09-091-1/+1
| |
* | In _join_daemon, don't use os.wait(). Instead, use waitpid, harmonizing the ↵Jason R. Coombs2018-09-091-17/+3
| | | | | | | | Unix and Windows approaches, and fixes #1741.
* | Be smarter about memcached availabilitySviatoslav Sydorenko2018-09-091-1/+8
| |
* | Use pytest.importorskip in a fixtureSviatoslav Sydorenko2018-09-091-10/+3
| | | | | | | | It is not a decorator
* | Reorder importorskip decoratorSviatoslav Sydorenko2018-09-091-1/+1
| |
* | Use correct function for importorskip memcacheSviatoslav Sydorenko2018-09-091-13/+1
| |
* | pre-commitJason R. Coombs2018-09-091-1/+1
| |
* | importorskip isn't a marker... so use the skipif marker.Jason R. Coombs2018-09-091-2/+13
| |
* | Use pytest-services to create an ephemeral instance of memcached for running ↵Jason R. Coombs2018-09-091-20/+38
| | | | | | | | the session tests
* | variable names should be more than one letterJason R. Coombs2018-09-091-2/+2
| |
* | Ran pre-commitv18.0.1Jason R. Coombs2018-09-091-1/+1
| |
* | Merge pull request #1740 from cherrypy/bugfix/1737-session-file-raceJason R. Coombs2018-09-082-32/+30
|\ \ | | | | | | Bugfix/1737 session file race
| * | Remove unused importbugfix/1737-session-file-raceJason R. Coombs2018-09-071-1/+0
| | |
| * | Remove empty branchJason R. Coombs2018-09-071-9/+8
| | |
| * | In teardown_class, also delete other files that may have been created during ↵Jason R. Coombs2018-09-071-11/+11
| | | | | | | | | | | | the tests. Fixes #1737.
| * | In StaticTest, use teardown_class to remove files after any server has been ↵Jason R. Coombs2018-09-071-2/+3
| | | | | | | | | | | | stopped. Fixes #1737.
| * | Leverage path.py for paths in test_sessionsJason R. Coombs2018-09-071-8/+5
| | |
| * | In SessionTest, perform teardown in the classmethod, and only after the ↵Jason R. Coombs2018-09-071-2/+4
| | | | | | | | | | | | CPWebCase is torn down. (presumably) Fixes #1737.
* | | Mark test_tracebacks as xfailing, as it's failing consistently.Jason R. Coombs2018-09-071-0/+1
| | |
* | | Remove xfail code, no longer relevant on Python 3. Ref #1544.Jason R. Coombs2018-09-071-5/+0
|/ /
* | Rely on Path object for cleaner logicJason R. Coombs2018-09-071-5/+9
| |
* | Rewrite error log test with pure pytestSviatoslav Sydorenko2018-09-061-16/+31
| | | | | | | | Temporary using requests directly
* | Fix log marker in test loggingSviatoslav Sydorenko2018-09-061-2/+4
| |
* | Don't convert bytes headers to strSviatoslav Sydorenko2018-09-051-0/+7
|\ \ | | | | | | PR #1736 by @tobiashenkel
| * | Don't convert bytes headers to strTobias Henkel2018-09-041-0/+7
| | | | | | | | | | | | | | | Don't convert bytes header values using str() as str(b'foo') becomes "b'foo'". Instead just leave bytes as is like it was prior to v18.0.0.
* | | Move import check to pytest.mark.importorskipSviatoslav Sydorenko2018-09-041-6/+1
| | |