Source

CherryPy / cherrypy / test / test_states.py

Author Commit Message Labels Comments Date
Jason R. Coombs
Added test to simulate failure reported in #1100.
Branches
cherrypy-3.2.x
Jason R. Coombs
Skip a test that consistently fails on Windows due to the implementation of os.kill (Python 2.7 and later).
Branches
cherrypy-3.2.x
Jason R. Coombs
Extracted method for skipping when the necessary signal and kill method aren't present.
Branches
cherrypy-3.2.x
Jason R. Coombs
Re-saved with excess whitespace removed. Removed unused import.
Branches
cherrypy-3.2.x
Robert Brewer
Better message when test_states fails due to slow autoreload
Robert Brewer
Bye bye, py2/3.
Robert Brewer
Freeow. The magic cherrypy/_cpcompat.py module to take all our py3k fears away.
Robert Brewer
Removed test.py etc.
Joseph Tate
Convert the tests to use nose instead of our own runner. This strips out much coverage and profiling (handled by nose) and lets you focus on writing tests.
Robert Brewer
A couple syncs with python3.
Robert Brewer
Removed py3print.
Lakin Wecker
trunk - oops - these prints were mussed up.
Lakin Wecker
trunk - adding a py3util module that will normalize as many differences 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''
Robert Brewer
A stray b''.
Lakin Wecker
trunk - porting the fixes to test_states from r2290.
Robert Brewer
Fixed a buglet in test_states.
Robert Brewer
Rework of test suite to start the engine once per module, and only for modules that have a 'setup_server' function. This allows us to include modules which do not need to start a server in the normal test.py testList and exercise them at every full run. See, for example, that test_bus and test_states are now included.
Robert Brewer
New helper.CPProcess class (moved from test_states), plus a bugfix to allow Ctrl-C to stop CP when running tests in --server mode.
Robert Brewer
Fixed sig handler unsubscribe test for Unix, plus an odd race condition in autoreload.
Robert Brewer
Test and fix for #826 (SignalHandler needs an unsubscribe). Need nix testing.
Robert Brewer
Fixed test_states for nix.
Robert Brewer
Fix for #828 (CherryPy should exit on SIGHUP if not daemonized). The tests need to be exercised on Unix.
Robert Brewer
Some test_states love. Also, cherryd grew an --import option.
Robert Brewer
Moved all bus plugins onto the engine object itself, and fixed a couple bus details along the way.
Robert Brewer
Removing the last call to server.quickstart (which is deprecated).
Lakin Wecker
Parent processes in Daemonizer should not even attempt to clean up after themselves, so use os._exit(0) instead of sys.exit(0). Updated tests and documentation to reflect the fact that if the first forkin Daemonizer completes, the process return code will always be 0.
Robert Brewer
Fix for #751 (logging: Python file objects are not thread-safe). Whew. Finally got all the bus operations where I want em:
Robert Brewer
Cosmetics.
Tags
cherrypy-3.1.0beta2
Robert Brewer
Trunk fix for #752 (Return cherrypy.server to a single-server model):
Lakin Wecker
Adding a unit test which exposes a bug whereby CP exit codes are mistakenly set to 0 by Daemonizer even if there are pending startup errors waiting to be raised.
  1. Prev
  2. 1
  3. 2
  4. 3
  5. Next