#NEWLINE# def _test_options_init_app( self , test_opts ) : #NEWLINE# #INDENT# for opt in test_opts . keys ( ) : #NEWLINE# #INDENT# if ( not test_opts [ opt ] [ 1 ] ) : #NEWLINE# #INDENT# continue #NEWLINE# #UNINDENT# key = opt2attr ( opt ) #NEWLINE# if isinstance ( test_opts [ opt ] [ 0 ] , str ) : #NEWLINE# #INDENT# cmd = ( ( opt + ' ' ) + test_opts [ opt ] [ 0 ] ) #NEWLINE# #UNINDENT# else : #NEWLINE# #INDENT# cmd = kwargs #NEWLINE# #UNINDENT# kwargs = { #NEWLINE# #INDENT# key : test_opts [ opt ] [ 0 ] , #NEWLINE# #UNINDENT# } #NEWLINE# self . _assert_initialize_app_arg ( cmd , kwargs )