<s> import re <EOL> import sys <EOL> from os import path <EOL> import django <EOL> from django . conf import settings , global_settings <EOL> from django . core . management import execute_from_command_line <EOL> if not settings . configured : <EOL> BASE_DIR = path . dirname ( path . realpath ( __file__ ) ) <EOL> settings . configure ( <EOL> DEBUG = False , <EOL> TEMPLATE_DEBUG = True , <EOL> DATABASES = { <EOL> '<STR_LIT:default>' : { <EOL> '<STR_LIT>' : '<STR_LIT>' , <EOL> '<STR_LIT>' : '<STR_LIT>' <EOL> } <EOL> } , <EOL> INSTALLED_APPS = ( <EOL> '<STR_LIT>' , <EOL> '<STR_LIT>' , <EOL> '<STR_LIT>' , <EOL> '<STR_LIT>' , <EOL> '<STR_LIT>' , <EOL> '<STR_LIT>' , <EOL> ) , <EOL> MIDDLEWARE_CLASSES = ( <EOL> '<STR_LIT>' , <EOL> '<STR_LIT>' , <EOL> '<STR_LIT>' , <EOL> ) , <EOL> TEST_RUNNER = '<STR_LIT>' if django . VERSION < ( <NUM_LIT:1> , <NUM_LIT:6> ) else '<STR_LIT>' , <EOL> SITE_ID = <NUM_LIT:1> , <EOL> ROOT_URLCONF = '<STR_LIT>' , <EOL> MAINTENANCE_MODE = True , <EOL> MAINTENANCE_IGNORE_URLS = ( <EOL> re . compile ( r'<STR_LIT>' ) , <EOL> ) , <EOL> ) <EOL> def runtests ( ) : <EOL> argv = sys . argv [ : <NUM_LIT:1> ] + [ '<STR_LIT:test>' , '<STR_LIT>' ] + sys . argv [ <NUM_LIT:1> : ] <EOL> execute_from_command_line ( argv ) <EOL> if __name__ == '<STR_LIT:__main__>' : <EOL> runtests ( ) </s>
