Krukov D
b84713b20e
Remove unicode literals ( #476 )
2017-01-11 10:03:03 -08:00
Krukov D
8a93dfc401
Accept Connection at WebsocketConsumer ( #467 )
...
* Added accept at default behavior for websocket generic cbv and pass message instead of dict
* Fix flake8
* Use HttpClient Instead of Client
* Fix lsort
2017-01-09 10:08:00 -08:00
Drew French
f4c9b02ae3
Valid cookie serialization for the test HTTPClient ( #453 )
...
* valid cookie serialization
* Added set cookie test
* delimiter fix
* more cases
* quote fix
* cleanup
* fix
* lint cleanup
* more lint clean up
2016-12-22 22:46:09 +00:00
Paul
f4f45dbb9f
Sort imports and make Travis run isort ( #425 )
...
* Sort imports
* Make Travis run isort
2016-11-05 12:08:38 +01:00
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
Frank Pape
c8fdea6460
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
Krukov Dima
a3e779fe9c
Json encoding/decoding for send/receive content at the HttpClient
2016-07-24 13:10:57 +00:00
Krukov D
f8debafbd3
Added path parameter to the HttpClient.send method ( #193 )
2016-06-02 16:25:55 -07:00
Krukov D
8827063bf2
Remove inherited methods and relative imports ( #163 )
...
* Remove inherited methods from HttpClient
* Using relative import in base of tests
2016-05-19 12:19:39 -07:00
Krukov D
05c41e9ad6
More tests utils for happy users ( #162 )
...
* Added Client abstraction
* Added apply_routes decorator/contextmanager
* Fix apply routes as decorator
* Separated Http specific client and 'Simple' client
* Remove Clients from ChannelTestCase
* Added cookies and headers management
* Fix wrong reverting
* Fixs for code style
* Added space before inline comment
2016-05-19 11:45:25 -07:00