#NEWLINE# def test_validate_config_ok( self ) : #NEWLINE# #INDENT# cfg . CONF . set_override ( 'physical_device_mappings' , self . DEVICE_MAPPING_LIST , 'SRIOV_NIC' ) #NEWLINE# cfg . CONF . set_override ( 'exclude_devices' , self . EXCLUDE_DEVICES_LIST , 'SRIOV_NIC' ) #NEWLINE# config_parser = agent . SriovNicAgentConfigParser ( ) #NEWLINE# config_parser . parse ( ) #NEWLINE# device_mappings = config_parser . device_mappings #NEWLINE# exclude_devices = config_parser . exclude_devices #NEWLINE# self . assertEqual ( self . EXCLUDE_DEVICES , exclude_devices ) #NEWLINE# self . assertEqual ( self . DEVICE_MAPPING , self )