#NEWLINE# def test_update_from_virt_driver( self ) : #NEWLINE# #INDENT# resources = copy . deepcopy ( fake_resources ) #NEWLINE# compute = compute_node . ComputeNode ( ) #NEWLINE# compute . update_from_virt_driver ( resources ) #NEWLINE# expected = fake_compute_with_resources #NEWLINE# self . assertTrue ( base . obj_equal_prims ( resources , compute ) )