<s> """<STR_LIT>""" <EOL> import os <EOL> test_runner = None <EOL> old_config = None <EOL> os . environ [ '<STR_LIT>' ] = '<STR_LIT>' <EOL> def setup ( ) : <EOL> global test_runner <EOL> global old_config <EOL> from django . test . simple import DjangoTestSuiteRunner <EOL> from ella . utils . installedapps import call_modules <EOL> test_runner = DjangoTestSuiteRunner ( ) <EOL> test_runner . setup_test_environment ( ) <EOL> old_config = test_runner . setup_databases ( ) <EOL> call_modules ( ( '<STR_LIT>' , ) ) <EOL> def teardown ( ) : <EOL> from shutil import rmtree <EOL> from django . conf import settings <EOL> test_runner . teardown_databases ( old_config ) <EOL> test_runner . teardown_test_environment ( ) <EOL> rmtree ( settings . MEDIA_ROOT , ignore_errors = True ) </s>
