#NEWLINE# @ defer . inlineCallbacks #NEWLINE# def test_spider_arguments( self ) : #NEWLINE# #INDENT# ( _ , _ , stderr ) = ( yield self . execute ( [ '--spider' , self . spider_name , '-a' , 'test_arg=1' , '-c' , 'parse' , self . url ( '/html' ) ] ) ) #NEWLINE# self . assertIn ( 'DEBUG: It Works!' , to_native_str ( stderr ) )