#NEWLINE# def test_switch_uefi_elilo_config_whole_disk_image( self ) : #NEWLINE# #INDENT# boot_mode = 'uefi' #NEWLINE# fname = self . _create_config ( boot_mode = boot_mode ) #NEWLINE# utils . switch_pxe_config ( fname , '0x12345678' , boot_mode , True ) #NEWLINE# with open ( fname , 'r' ) as f : #NEWLINE# #INDENT# pxeconf = f . read ( ) #NEWLINE# #UNINDENT# self . assertEqual ( _UEFI_PXECONF_BOOT_WHOLE_DISK , pxeconf )