<s> import sys <EOL> INSTALLED_APPS = [ <EOL> '<STR_LIT>' , <EOL> '<STR_LIT>' , <EOL> '<STR_LIT>' , <EOL> '<STR_LIT>' , <EOL> '<STR_LIT>' , <EOL> '<STR_LIT>' , <EOL> ] <EOL> DATABASES = { <EOL> '<STR_LIT:default>' : { <EOL> '<STR_LIT>' : '<STR_LIT>' , <EOL> '<STR_LIT>' : '<STR_LIT>' , <EOL> } <EOL> } <EOL> ROOT_URLCONF = '<STR_LIT>' <EOL> def run_tests ( ) : <EOL> from django . conf import settings <EOL> settings . configure ( <EOL> INSTALLED_APPS = INSTALLED_APPS , <EOL> ROOT_URLCONF = ROOT_URLCONF , <EOL> DATABASES = DATABASES , <EOL> TEST_RUNNER = '<STR_LIT>' , <EOL> SSO_PRIVATE_KEY = '<STR_LIT>' , <EOL> SSO_PUBLIC_KEY = '<STR_LIT>' , <EOL> SSO_SERVER = '<STR_LIT>' , <EOL> ) <EOL> from django . test . utils import get_runner <EOL> TestRunner = get_runner ( settings ) <EOL> test_runner = TestRunner ( verbosity = <NUM_LIT:1> , interactive = False , failfast = False ) <EOL> failures = test_runner . run_tests ( [ '<STR_LIT>' ] ) <EOL> return failures <EOL> if __name__ == "<STR_LIT:__main__>" : <EOL> failures = run_tests ( ) <EOL> if failures : <EOL> sys . exit ( bool ( failures ) ) </s>
