StreamReader arg is missing
@@ -39,7 +39,7 @@ __version__ = "${VERSION}"
def mock_request(data, loop):
- payload = StreamReader(loop=loop)
+ payload = StreamReader("http", loop=loop)
payload.feed_data(data.encode())
payload.feed_eof()
