#NEWLINE# @ patch ( 'nailgun.task.task.rpc.cast' ) #NEWLINE# def test_node_group_deleted_with_neworks_in_bootstrap_only( self , _ ) : #NEWLINE# #INDENT# node_group = self . env . create_node_group ( api = False , cluster_id = self . cluster . id ) #NEWLINE# self . env . create_nodes ( 2 , group_id = node_group . id ) #NEWLINE# self . _check_node_group_deleted ( _ . id )