This commit is contained in:
Kovid Goyal 2019-12-05 20:45:33 +05:30
parent ec83c5058f
commit 8760440c92
No known key found for this signature in database
GPG Key ID: 06BC317B515ACE7C

View File

@ -301,3 +301,8 @@ class LoopTest(BaseTest):
self.assertIn('a testing error', tb)
jm.start_job('simple test', 'calibre.srv.jobs', 'sleep_test', args=(1.0,))
jm.shutdown(), jm.wait_for_shutdown(monotonic() + 1)
def find_tests():
import unittest
return unittest.defaultTestLoader.loadTestsFromTestCase(LoopTest)