Remove test_helpers.DummyStream

This commit is contained in:
Steve Howell
2016-07-13 16:34:39 -07:00
committed by Tim Abbott
parent 191ac80475
commit 0060ea7903

View File

@@ -191,7 +191,6 @@ class DummyTornadoRequest(object):
def __init__(self): def __init__(self):
# type: () -> None # type: () -> None
self.connection = DummyObject() self.connection = DummyObject()
self.connection.stream = DummyStream() # type: ignore # monkey-patching here
class DummyHandler(object): class DummyHandler(object):
def __init__(self): def __init__(self):
@@ -202,11 +201,6 @@ class DummyHandler(object):
class DummySession(object): class DummySession(object):
session_key = "0" session_key = "0"
class DummyStream(object):
def closed(self):
# type: () -> bool
return False
class POSTRequestMock(object): class POSTRequestMock(object):
method = "POST" method = "POST"