#NEWLINE# def test_builtin_with_bad_environment( self ) : #NEWLINE# #INDENT# "directory: django-admin builtin commands fail if settings file (from environment) doesn't exist" #NEWLINE# args = [ 'sqlall' , 'admin_scripts' ] #NEWLINE# ( out , err ) = self . run_django_admin ( args , 'bad_settings' ) #NEWLINE# self . assertNoOutput ( out ) #NEWLINE# self . assertOutput ( self , "Could not import settings 'bad_settings'" )