daphne/channels/tests
Luke Hodkinson 0d25860cf2 Run workers in threads. (#322)
* Use a mixin for common test-case code. This way we can have both
a regular channels test-case, and a transaction test-case, too.

* Adding a reference to django-cq.

* Adding the ability to launch a number of workers in threads.
This is to try and help reduce memory consumption.

* Adding a signal for process level worker startups.

* Cleaning up the threaded worker code.

* Use Python 2.7 friendly code.

* Making the runworker command show a little more information
about how many threads are running.

* Moving the worker ready signal into a method in order to support
polymorphic behavior.

* Ugh, I'm an idiot. Was launching the wrong run.

* Adding a call to the workers' `ready` in `runserver`.
2016-08-31 21:26:03 -07:00
..
__init__.py Use a mixin for common test-case code. This way we can have both (#305) 2016-08-20 17:53:54 -07:00
a_file Tests for file and streaming response handling inside Django (#185) 2016-06-01 09:47:50 -07:00
base.py Add send_and_consume method to HttpClient to match base Client behavior. Change argument ordering in send method to match base client. Fix repeated "live cycle" error in docstrings. (#320) 2016-08-26 12:04:38 -07:00
http.py Add send_and_consume method to HttpClient to match base Client behavior. Change argument ordering in send method to match base client. Fix repeated "live cycle" error in docstrings. (#320) 2016-08-26 12:04:38 -07:00
settings.py Test runserver (#214) 2016-06-29 11:26:21 -07:00
test_binding.py fixed usage of group_names in *_change_receiver (#306) 2016-08-23 10:13:46 -07:00
test_generic.py as_route method for class based consumers (#266) 2016-07-28 10:48:57 +01:00
test_handler.py Remove invalid test. FileResponse requires a file object. (#311) 2016-08-24 17:39:18 -07:00
test_management.py pass subprotocols if defined (#282) 2016-08-04 15:30:52 -07:00
test_request.py Fixed #210: Fix query string to be bytes and not decoded 2016-06-22 09:44:10 -07:00
test_routing.py Add class-based consumers 2016-05-25 17:45:56 -07:00
test_sessions.py improve @enforce_ordering to leverage a wait channel to avoid spinlocks (#144) 2016-05-12 10:38:06 -07:00
test_worker.py Run workers in threads. (#322) 2016-08-31 21:26:03 -07:00