<s> import sys <EOL> sys . path . insert ( <NUM_LIT:0> , '<STR_LIT:..>' ) <EOL> import unittest <EOL> from tests import * <EOL> ts = [ "<STR_LIT>" , "<STR_LIT>" , "<STR_LIT>" , "<STR_LIT>" , "<STR_LIT>" , "<STR_LIT>" , "<STR_LIT>" ] <EOL> suite = unittest . TestSuite ( ) <EOL> for t in ts : <EOL> suite . addTests ( unittest . TestLoader ( ) . loadTestsFromName ( "<STR_LIT>" + t ) ) <EOL> if len ( sys . argv ) > <NUM_LIT:1> : <EOL> m = sys . argv [ <NUM_LIT:1> ] <EOL> for t in suite : <EOL> for x in t : <EOL> if m in str ( x . id ( ) ) : <EOL> unittest . TextTestRunner ( verbosity = <NUM_LIT:2> ) . run ( x ) <EOL> else : <EOL> unittest . TextTestRunner ( verbosity = <NUM_LIT:2> ) . run ( suite ) </s>
