<s> from django . core . management . base import BaseCommand <EOL> from optparse import make_option <EOL> from test . test_runner import JumoTestSuiteRunner <EOL> class Command ( BaseCommand ) : <EOL> option_list = BaseCommand . option_list + ( <EOL> make_option ( '<STR_LIT>' , action = '<STR_LIT:store>' , dest = '<STR_LIT>' , <EOL> type = '<STR_LIT:string>' , default = '<STR_LIT>' , <EOL> help = '<STR_LIT>' ) , <EOL> ) <EOL> help = '<STR_LIT>' <EOL> args = '<STR_LIT>' <EOL> requires_model_validation = False <EOL> def handle ( self , * fixture_labels , ** options ) : <EOL> from django . core . management import call_command <EOL> from django . db import connections <EOL> verbosity = int ( options . get ( '<STR_LIT>' , <NUM_LIT:1> ) ) <EOL> addrport = options . get ( '<STR_LIT>' ) <EOL> jtsr = JumoTestSuiteRunner ( ) <EOL> ( old_names , mirrors ) = jtsr . setup_databases ( ) <EOL> for db_data in old_names : <EOL> print "<STR_LIT>" % db_data [ <NUM_LIT:0> ] . settings_dict [ "<STR_LIT>" ] <EOL> call_command ( '<STR_LIT>' , * fixture_labels , ** { '<STR_LIT>' : verbosity , "<STR_LIT>" : db_data [ <NUM_LIT:0> ] . alias } ) <EOL> shutdown_message = '<STR_LIT>' <EOL> call_command ( '<STR_LIT>' , addrport = addrport , shutdown_message = shutdown_message , use_reloader = False ) </s>
