mirror of
https://github.com/zulip/zulip.git
synced 2025-11-02 13:03:29 +00:00
Remove test_helpers.DummyStream
This commit is contained in:
@@ -191,7 +191,6 @@ class DummyTornadoRequest(object):
|
||||
def __init__(self):
|
||||
# type: () -> None
|
||||
self.connection = DummyObject()
|
||||
self.connection.stream = DummyStream() # type: ignore # monkey-patching here
|
||||
|
||||
class DummyHandler(object):
|
||||
def __init__(self):
|
||||
@@ -202,11 +201,6 @@ class DummyHandler(object):
|
||||
class DummySession(object):
|
||||
session_key = "0"
|
||||
|
||||
class DummyStream(object):
|
||||
def closed(self):
|
||||
# type: () -> bool
|
||||
return False
|
||||
|
||||
class POSTRequestMock(object):
|
||||
method = "POST"
|
||||
|
||||
|
Reference in New Issue
Block a user