<s> from __future__ import unicode_literals <EOL> import sys <EOL> from django . conf import settings <EOL> if not settings . configured : <EOL> settings . configure ( <EOL> DATABASE_ENGINE = '<STR_LIT>' , <EOL> DATABASES = { <EOL> '<STR_LIT:default>' : { <EOL> '<STR_LIT>' : '<STR_LIT>' , <EOL> '<STR_LIT>' : '<STR_LIT>' , <EOL> } , <EOL> } , <EOL> DATABASE_NAME = '<STR_LIT>' , <EOL> TEST_DATABASE_NAME = '<STR_LIT>' , <EOL> INSTALLED_APPS = [ <EOL> '<STR_LIT>' , <EOL> '<STR_LIT>' , <EOL> '<STR_LIT>' , <EOL> '<STR_LIT>' , <EOL> '<STR_LIT>' , <EOL> '<STR_LIT>' , <EOL> '<STR_LIT>' , <EOL> ] , <EOL> ROOT_URLCONF = '<STR_LIT>' , <EOL> DEBUG = False , <EOL> SITE_ID = <NUM_LIT:1> , <EOL> MIDDLEWARE_CLASSES = ( <EOL> '<STR_LIT>' , <EOL> '<STR_LIT>' , <EOL> '<STR_LIT>' , <EOL> '<STR_LIT>' , <EOL> '<STR_LIT>' <EOL> ) , <EOL> HUNGER_REDIRECT = '<STR_LIT>' , <EOL> HUNGER_ALWAYS_ALLOW_VIEWS = [ <EOL> '<STR_LIT>' , <EOL> '<STR_LIT>' , <EOL> ] , <EOL> HUNGER_ALWAYS_ALLOW_MODULES = [ '<STR_LIT>' ] , <EOL> ) <EOL> def runtests ( ) : <EOL> from django import VERSION <EOL> if VERSION [ <NUM_LIT:1> ] >= <NUM_LIT:7> : <EOL> from django import setup <EOL> setup ( ) <EOL> from django . test . utils import get_runner <EOL> TestRunner = get_runner ( settings ) <EOL> test_runner = TestRunner ( ) <EOL> failures = test_runner . run_tests ( [ "<STR_LIT>" ] ) <EOL> sys . exit ( bool ( failures ) ) <EOL> if __name__ == '<STR_LIT:__main__>' : <EOL> runtests ( ) </s>
