#NEWLINE# def test_option_then_setting( self ) : #NEWLINE# #INDENT# 'Options passed before settings are correctly handled' #NEWLINE# args = [ 'base_command' , 'testlabel' , '--option_a=x' , '--settings=alternate_settings' ] #NEWLINE# ( out , err ) = self . run_manage ( args ) #NEWLINE# self . assertNoOutput ( err ) #NEWLINE# self . assertOutput ( out , "EXECUTE:BaseCommand labels=('testlabel',), options=[('option_a', 'x'), ('option_b', '2'), ('option_c', '3'), ('pythonpath', None), ('settings', 'alternate_settings'), ('traceback', None), ('verbosity', '1')]" )