daphne/channels/tests
Krukov D 5464cba742 Iimprovements for test client (#352)
* Json encoding only for not string text at HttpClient

* Decode received content if possible

* Check that content received

* Using json kwarg at receive method to decode message text content

* Wrap decorator function at channel_session_user_from_http

* Cleanup

* Arbitrary indent. sorry
2016-09-12 11:28:12 +01: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 Iimprovements for test client (#352) 2016-09-12 11:28:12 +01:00
http.py Iimprovements for test client (#352) 2016-09-12 11:28:12 +01:00
settings.py Test runserver (#214) 2016-06-29 11:26:21 -07:00
test_binding.py Inbound tests (#351) 2016-09-12 11:27:42 +01: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