diff --git a/tests/servers/test_basehttp.py b/tests/servers/test_basehttp.py index 239016e635..cd9bcd2e86 100644 --- a/tests/servers/test_basehttp.py +++ b/tests/servers/test_basehttp.py @@ -12,6 +12,9 @@ class Stub(object): def __init__(self, **kwargs): self.__dict__.update(kwargs) + def sendall(self, data): + self.makefile('wb').write(data) + class WSGIRequestHandlerTestCase(SimpleTestCase):