mirror of
https://github.com/Mikaela/Limnoria.git
synced 2024-11-30 06:49:24 +01:00
Updated to log threads.
This commit is contained in:
parent
4d69806920
commit
e5d3d39bed
@ -41,6 +41,7 @@ import time
|
|||||||
started = time.time()
|
started = time.time()
|
||||||
import shutil
|
import shutil
|
||||||
import unittest
|
import unittest
|
||||||
|
import threading
|
||||||
|
|
||||||
import supybot.log as log
|
import supybot.log as log
|
||||||
import supybot.conf as conf
|
import supybot.conf as conf
|
||||||
@ -108,6 +109,8 @@ class TimeoutError(AssertionError):
|
|||||||
class SupyTestCase(unittest.TestCase):
|
class SupyTestCase(unittest.TestCase):
|
||||||
def setUp(self):
|
def setUp(self):
|
||||||
log.critical('Beginning test case %s', self.id())
|
log.critical('Beginning test case %s', self.id())
|
||||||
|
threads = [t.getName() for t in threading.enumerate()]
|
||||||
|
log.critical('Threads: %s' % utils.commaAndify(threads))
|
||||||
unittest.TestCase.setUp(self)
|
unittest.TestCase.setUp(self)
|
||||||
|
|
||||||
def tearDown(self):
|
def tearDown(self):
|
||||||
|
Loading…
Reference in New Issue
Block a user