Fix incorrect assertion in test_create_pool
Fixes bug 1192356 Change-Id: I2596f9c0e5e3f6c97ca2f47e23ffdab6846c65bf
This commit is contained in:
parent
bf3d19f26a
commit
9dd8a85571
@ -251,9 +251,9 @@ class JSONRequestDeserializerTest(test_utils.BaseTestCase):
|
||||
|
||||
class ServerTest(test_utils.BaseTestCase):
|
||||
def test_create_pool(self):
|
||||
""" Ensure the wsgi thread pool is an eventlet.greenpool.GreenPool. """
|
||||
actual = wsgi.Server(threads=1).create_pool()
|
||||
self.assertTrue(True, isinstance(actual,
|
||||
eventlet.greenpool.GreenPool))
|
||||
self.assertTrue(isinstance(actual, eventlet.greenpool.GreenPool))
|
||||
|
||||
|
||||
class TestHelpers(test_utils.BaseTestCase):
|
||||
|
Loading…
x
Reference in New Issue
Block a user