#NEWLINE# def test_server_group_delete( self ) : #NEWLINE# #INDENT# arglist = [ 'affinity_group' ] #NEWLINE# verifylist = [ ( 'server_group' , [ 'affinity_group' ] ) ] #NEWLINE# parsed_args = self . check_parser ( self . cmd , arglist , self ) #NEWLINE# result = self . cmd . take_action ( parsed_args ) #NEWLINE# self . server_groups_mock . get . assert_called_once_with ( 'affinity_group' ) #NEWLINE# self . server_groups_mock . delete . assert_called_once_with ( self . fake_server_group . id ) #NEWLINE# self . assertIsNone ( result )