<s> import sys <EOL> import logging <EOL> logging . disable ( logging . CRITICAL ) <EOL> from argparse import ArgumentParser <EOL> import tests . config <EOL> from django_nose import NoseTestSuiteRunner <EOL> def run_tests ( verbosity ) : <EOL> test_runner = NoseTestSuiteRunner ( verbosity = verbosity ) <EOL> num_failures = test_runner . run_tests ( [ '<STR_LIT>' , '<STR_LIT>' ] ) <EOL> if num_failures : <EOL> sys . exit ( num_failures ) <EOL> if __name__ == '<STR_LIT:__main__>' : <EOL> parser = ArgumentParser ( ) <EOL> parser . add_argument ( '<STR_LIT>' , '<STR_LIT>' , dest = '<STR_LIT>' , default = <NUM_LIT:1> , <EOL> type = int , help = "<STR_LIT>" ) <EOL> options , args = parser . parse_known_args ( ) <EOL> print '<STR_LIT>' <EOL> run_tests ( options . verbosity ) </s>
