<s> import unittest <EOL> import pkgutil <EOL> import tests <EOL> import logging <EOL> logging . basicConfig ( filename = '<STR_LIT>' , filemode = '<STR_LIT:w>' , level = logging . DEBUG ) <EOL> suite = unittest . TestSuite ( ) <EOL> loader = unittest . TestLoader ( ) <EOL> for _loader , name , _ispkg in pkgutil . iter_modules ( tests . __path__ ) : <EOL> if not name . startswith ( '<STR_LIT>' ) : <EOL> suite . addTest ( loader . loadTestsFromName ( '<STR_LIT>' + name ) ) <EOL> unittest . TextTestRunner ( verbosity = <NUM_LIT:2> ) . run ( suite ) </s>
