Commit 11ee826e authored by Denis Bilenko's avatar Denis Bilenko

test__http.py: check that calling stop() on stopped is OK

parent 0d8a1847
...@@ -83,6 +83,8 @@ class TestStop(BoundTestCase): ...@@ -83,6 +83,8 @@ class TestStop(BoundTestCase):
s.close() s.close()
self.http.stop() self.http.stop()
gevent.sleep(0.02) gevent.sleep(0.02)
# stopping what already stopped is OK
self.http.stop()
class TestSendReply(BoundTestCase): class TestSendReply(BoundTestCase):
......
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