<s> import sys <EOL> import django <EOL> from django . conf import global_settings , settings <EOL> settings . configure ( <EOL> DATABASES = { <EOL> '<STR_LIT:default>' : { '<STR_LIT>' : '<STR_LIT>' , '<STR_LIT>' : '<STR_LIT>' } <EOL> } , <EOL> INSTALLED_APPS = [ <EOL> '<STR_LIT>' , <EOL> '<STR_LIT>' , <EOL> '<STR_LIT>' , <EOL> '<STR_LIT>' , <EOL> '<STR_LIT>' , <EOL> ] , <EOL> ROOT_URLCONF = '<STR_LIT>' , <EOL> MIDDLEWARE_CLASSES = global_settings . MIDDLEWARE_CLASSES + ( <EOL> '<STR_LIT>' , <EOL> '<STR_LIT>' , ) <EOL> ) <EOL> def runtests ( * test_args ) : <EOL> import django . test . utils <EOL> if django . VERSION [ <NUM_LIT:0> : <NUM_LIT:2> ] >= ( <NUM_LIT:1> , <NUM_LIT:7> ) : <EOL> django . setup ( ) <EOL> runner_class = django . test . utils . get_runner ( settings ) <EOL> test_runner = runner_class ( verbosity = <NUM_LIT:1> , interactive = True , failfast = False ) <EOL> failures = test_runner . run_tests ( [ '<STR_LIT>' ] ) <EOL> sys . exit ( failures ) <EOL> if __name__ == '<STR_LIT:__main__>' : <EOL> runtests ( ) </s>
