Commit Graph

12 Commits

Author SHA1 Message Date
Paul
f4f45dbb9f Sort imports and make Travis run isort (#425)
* Sort imports

* Make Travis run isort
2016-11-05 12:08:38 +01:00
Andrew Godwin
0ed04a9c06 Fix tests for new non-immediate sending 2016-10-05 15:32:37 -07:00
Tim Watts
39339e66bc Remove invalid test. FileResponse requires a file object. (#311)
* Remove invalid test. FileResponse requires a file object.

* rm unused imports
2016-08-24 17:39:18 -07:00
Andrew Godwin
92012fbc27 Fixed #87: Don't drop headers and status on empty streaming responses 2016-06-29 12:20:47 -07:00
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