Commit Graph

8 Commits

Author SHA1 Message Date
Tim Watts
56104e7fc6 Tests for file and streaming response handling inside Django (#185)
* add first streaming and file response tests

* iterate over response and not streaming content directly

* add coverage for FileResponse and StreamingHttpResponse

* added tests for headers, json responses, and redirect responses

* rm print statement

* skip failing stringio test
2016-06-01 09:47:50 -07:00
Andrew Godwin
0e3c742a80 Introduce ChannelTestCase to make testing easier 2016-04-04 03:34:05 +02:00
Andrew Godwin
5bf19f52f6 Remove status_text from the HTTP response spec. 2016-03-11 10:30:40 -08:00
Andrew Godwin
9f8bf30cdd Fix handler test 2016-03-11 10:23:07 -08:00
Andrew Godwin
5c9093ddeb Fix bug with sending empty response 2016-02-14 21:26:34 +00:00
Andrew Godwin
c7d417dd33 OKAY I THINK THIS IS THE LAST STUPID MISTAKE 2016-02-09 13:35:13 -08:00
Andrew Godwin
be172045ed Fix test path encoding 2016-02-09 13:04:23 -08:00
Andrew Godwin
5cd2cbdfee Add test suite for ASGI handlers 2016-02-05 15:53:01 -08:00