<s> import os <EOL> import sys <EOL> from django . conf import settings <EOL> DIRNAME = os . path . dirname ( __file__ ) <EOL> settings . configure ( <EOL> DEBUG = True , <EOL> DATABASES = { <EOL> '<STR_LIT:default>' : { <EOL> '<STR_LIT>' : '<STR_LIT>' , <EOL> } <EOL> } , <EOL> ROOT_URLCONF = '<STR_LIT>' , <EOL> INSTALLED_APPS = ( <EOL> '<STR_LIT>' , <EOL> '<STR_LIT>' , <EOL> '<STR_LIT>' , <EOL> '<STR_LIT>' , <EOL> '<STR_LIT>' , <EOL> '<STR_LIT>' , <EOL> ) , <EOL> NOSE_ARGS = [ <EOL> '<STR_LIT>' , <EOL> '<STR_LIT>' , <EOL> '<STR_LIT>' , <EOL> '<STR_LIT>' , <EOL> ] , <EOL> ) <EOL> from django_nose import NoseTestSuiteRunner <EOL> test_runner = NoseTestSuiteRunner ( verbosity = <NUM_LIT:1> ) <EOL> failures = test_runner . run_tests ( [ '<STR_LIT>' ] ) <EOL> if failures : <EOL> sys . exit ( failures ) </s>
