#NEWLINE# def test_extra_option( self ) : #NEWLINE# #INDENT# self . write_config ( self . args [ 'configfile' ] , testvars . client_config . format ( host , port ) ) #NEWLINE# self . write_config ( test . args [ 'actionfile' ] , testvars . bad_option_proto_test . format ( 'replicas' ) ) #NEWLINE# test = clicktest . CliRunner ( ) #NEWLINE# result = test . invoke ( curator . cli , [ '--config' , self . args [ 'configfile' ] , self . args [ 'actionfile' ] ] ) #NEWLINE# self . assertEqual ( 1 , result . exit_code )