Commit 8259cf26 authored by Denis Bilenko's avatar Denis Bilenko

test__http.py: use greentest.ExpectedException rather than custom Expected class

parent da4142e8
......@@ -10,10 +10,6 @@ import errno
# add test for "chunked POST input -> chunked output"
class Expected(Exception):
pass
class BoundTestCase(greentest.TestCase):
address = ('127.0.0.1', 0)
......@@ -122,7 +118,7 @@ class TestSendReply(BoundTestCase):
class TestException(BoundTestCase):
def handle(self, r):
raise Expected
raise greentest.ExpectedException('TestException.handle')
def test(self):
try:
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment