#NEWLINE# def test_verify_node_info_missing_sh( self ) : #NEWLINE# #INDENT# driver_info = db_utils . get_test_oneview_driver_info ( ) #NEWLINE# del driver_info [ 'server_hardware_uri' ] #NEWLINE# properties = db_utils . get_test_oneview_properties ( ) #NEWLINE# properties [ 'capabilities' ] = 'server_hardware_type_uri:fake_sht_uri,enclosure_group_uri:fake_eg_uri,server_profile_template_uri:fake_spt_uri' #NEWLINE# self . node . properties = properties #NEWLINE# self . node . driver_info = driver_info #NEWLINE# with self . assertRaisesRegexp ( exception . MissingParameterValue , 'server_hardware_uri' ) : #NEWLINE# #INDENT# common . verify_node_info ( driver_info . node )