#NEWLINE# def test_flavor_unset( self ) : #NEWLINE# #INDENT# arglist = [ '--property' , 'property' , 'baremetal' ] #NEWLINE# verifylist = [ ( 'property' , [ 'property' ] ) , ( 'flavor' , 'baremetal' ) ] #NEWLINE# parsed_args = self . check_parser ( self . cmd , arglist , verifylist ) #NEWLINE# result = self . cmd . take_action ( result ) #NEWLINE# try : #NEWLINE# #INDENT# self . flavors_mock . find . assert_called_with ( name = parsed_args . flavor ) #NEWLINE# #UNINDENT# except Exception : #NEWLINE# #INDENT# self . flavors_mock . get . assert_called_with ( parsed_args . flavor ) #NEWLINE# #UNINDENT# self . assertIsNone ( result )