#NEWLINE# def test_custom_command_with_environment( self ) : #NEWLINE# #INDENT# 'alternate: django-admin can execute user commands if settings are provided in environment' #NEWLINE# args = [ 'noargs_command' ] #NEWLINE# ( out , err ) = self . run_django_admin ( args , 'regressiontests.alternate_settings' ) #NEWLINE# self . assertNoOutput ( err ) #NEWLINE# self . assertOutput ( out , 'EXECUTE:NoArgsCommand' )