<s> import sys <EOL> from os . path import abspath , dirname <EOL> from django . conf import settings <EOL> sys . path . insert ( <NUM_LIT:0> , abspath ( dirname ( __file__ ) ) ) <EOL> if not settings . configured : <EOL> settings . configure ( <EOL> AUTHNET_DEBUG = False , <EOL> AUTHNET_LOGIN_ID = "<STR_LIT>" , <EOL> AUTHNET_TRANSACTION_KEY = "<STR_LIT:key>" , <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> STATIC_URL = '<STR_LIT>' , <EOL> DATABASES = { '<STR_LIT:default>' : { '<STR_LIT>' : '<STR_LIT>' } } , <EOL> ) <EOL> def runtests ( ) : <EOL> from django . test . simple import DjangoTestSuiteRunner <EOL> failures = DjangoTestSuiteRunner ( failfast = False ) . run_tests ( [ '<STR_LIT>' ] ) <EOL> sys . exit ( failures ) </s>
