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