Skip to content

Commit

Permalink
Improve test_request_stream.py
Browse files Browse the repository at this point in the history
  • Loading branch information
38elements committed May 7, 2017
1 parent c361dc0 commit 1385d63
Showing 1 changed file with 1 addition and 3 deletions.
4 changes: 1 addition & 3 deletions tests/test_request_stream.py
Expand Up @@ -36,9 +36,7 @@ async def bp_handler(request):


def test_request_stream():
data = ""
for i in range(1, 250000):
data += str(i)
data = "abc" * 100000
request, response = app.test_client.post('/stream', data=data)
assert response.status == 200
assert response.text == data
Expand Down

0 comments on commit 1385d63

Please sign in to comment.