daphne/channels/tests
Sam Bolgert 3dddefa845 Delay Protocol Server (#401)
* Add Delay Protocol Server

Add a process that listens to a specific channel
and delays incoming messages by a given time.

* Add custom django command rundelay
* Add test suite
* Implements #115

* Add channels.delay app

* Add AppConfig

* Move rundelay command to channels.delay app

* Refactor DelayedMessage into model

Move login into a database backed model.
* Update Worker
* Add migration

* Add delay docs page

* Add to TOC

* Fix import sorting

* Add ASGI spec document for Delay Protocol

* Update channels.delay doc with new channel name
* remove interval docs

* Refactor Delay to use milliseconds instead of seconds

Use milliseconds as the default unit. Gives more control to developers.

* Remove interval logic from DelayedMessage
* Remove interval tests
* Tweak test logic to use milliseconds
2016-11-24 10:54:03 -08: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 Sort imports and make Travis run isort (#425) 2016-11-05 12:08:38 +01:00
http.py Sort imports and make Travis run isort (#425) 2016-11-05 12:08:38 +01:00
settings.py Delay Protocol Server (#401) 2016-11-24 10:54:03 -08:00
test_binding.py Sort imports and make Travis run isort (#425) 2016-11-05 12:08:38 +01:00
test_delay.py Delay Protocol Server (#401) 2016-11-24 10:54:03 -08:00
test_generic.py Sort imports and make Travis run isort (#425) 2016-11-05 12:08:38 +01:00
test_handler.py Sort imports and make Travis run isort (#425) 2016-11-05 12:08:38 +01:00
test_management.py runserver should respect FORCE_SCRIPT_NAME setting (#435) 2016-11-18 06:26:16 -08:00
test_request.py Sort imports and make Travis run isort (#425) 2016-11-05 12:08:38 +01:00
test_routing.py Sort imports and make Travis run isort (#425) 2016-11-05 12:08:38 +01:00
test_sessions.py Sort imports and make Travis run isort (#425) 2016-11-05 12:08:38 +01:00
test_worker.py Sort imports and make Travis run isort (#425) 2016-11-05 12:08:38 +01:00