#NEWLINE# @ responses . activate #NEWLINE# def test_cli_dataset_delete_dataset( ) : #NEWLINE# #INDENT# id = 'cii9dtexw0039uelz7nzk1lq3' #NEWLINE# responses . add ( responses . DELETE , 'https://api.mapbox.com/datasets/v1/{0}/{1}?access_token={2}' . format ( username , id , access_token ) , match_querystring = True , status = 204 ) #NEWLINE# runner = CliRunner ( ) #NEWLINE# result = runner . invoke ( main_group , [ '--access-token' , access_token , 'datasets' , 'delete-dataset' , id ] ) #NEWLINE# assert ( result . exit_code == 0 )