Commit 232f881f authored by Denis Bilenko's avatar Denis Bilenko

wsgi_test.py: minor change, use blocking kill by default

parent fc052fac
...@@ -348,7 +348,7 @@ class TestHttps(greentest.TestCase): ...@@ -348,7 +348,7 @@ class TestHttps(greentest.TestCase):
result = f.read() result = f.read()
self.assertEquals(result, 'abc') self.assertEquals(result, 'abc')
finally: finally:
g.kill() # XXX use blocking kill g.kill(block=True)
def test_013_empty_return(self): def test_013_empty_return(self):
certificate_file = os.path.join(os.path.dirname(__file__), 'test_server.crt') certificate_file = os.path.join(os.path.dirname(__file__), 'test_server.crt')
...@@ -361,7 +361,7 @@ class TestHttps(greentest.TestCase): ...@@ -361,7 +361,7 @@ class TestHttps(greentest.TestCase):
result = f.read() result = f.read()
self.assertEquals(result, '') self.assertEquals(result, '')
finally: finally:
g.kill() g.kill(block=True)
class HTTPRequest(urllib2.Request): class HTTPRequest(urllib2.Request):
......
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