Coverage for tests/__init__ : 13%

Hot-keys on this page
r m x p toggle line displays
j k next/prev highlighted chunk
0 (zero) top of page
1 (one) first highlighted chunk
''' Discover and load all unit tests in all files named ``*_test.py`` in ``./src/`` ''' import unittest suite = unittest.TestSuite() import unittest.loader for all_test_suite in unittest.defaultTestLoader.discover( ".", pattern='test*.py' ): if "ModuleImportFailure" in str(all_test_suite): print("Found ModuleImportFailure:", all_test_suite) pass else: suite.addTests(all_test_suite) return suite |