Removed unnecessary setup() call in tpool_test.

This commit is contained in:
Ryan Williams
2010-01-18 11:41:37 -08:00
parent eb5707ff34
commit 2cffbdfef2
2 changed files with 1 additions and 3 deletions

View File

@@ -31,7 +31,6 @@ def noop():
class TestTpool(LimitedTestCase): class TestTpool(LimitedTestCase):
def setUp(self): def setUp(self):
tpool.setup()
debug.hub_exceptions(True) debug.hub_exceptions(True)
super(TestTpool, self).setUp() super(TestTpool, self).setUp()

View File

@@ -125,14 +125,13 @@ def read_http(sock):
return response_line, headers, body return response_line, headers, body
class TestHttpd(LimitedTestCase): class TestHttpd(LimitedTestCase):
mode = 'static'
def setUp(self): def setUp(self):
super(TestHttpd, self).setUp() super(TestHttpd, self).setUp()
self.logfile = StringIO() self.logfile = StringIO()
self.site = Site() self.site = Site()
self.killer = None self.killer = None
self.spawn_server() self.spawn_server()
def tearDown(self): def tearDown(self):
super(TestHttpd, self).tearDown() super(TestHttpd, self).tearDown()
greenthread.kill(self.killer) greenthread.kill(self.killer)