mirror of
https://github.com/Mikaela/Limnoria.git
synced 2024-11-26 20:59:27 +01:00
Updated to log threads.
This commit is contained in:
parent
4d69806920
commit
e5d3d39bed
@ -41,6 +41,7 @@ import time
|
||||
started = time.time()
|
||||
import shutil
|
||||
import unittest
|
||||
import threading
|
||||
|
||||
import supybot.log as log
|
||||
import supybot.conf as conf
|
||||
@ -108,6 +109,8 @@ class TimeoutError(AssertionError):
|
||||
class SupyTestCase(unittest.TestCase):
|
||||
def setUp(self):
|
||||
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)
|
||||
|
||||
def tearDown(self):
|
||||
|
Loading…
Reference in New Issue
Block a user