#NEWLINE# def test__message_format_whole_disk( self ) : #NEWLINE# #INDENT# image_info = _build_fake_image_info ( ) #NEWLINE# msg = 'image ({0}) already present on device {1}' #NEWLINE# device = '/dev/fake' #NEWLINE# partition_uuids = { #NEWLINE# #INDENT# #NEWLINE# #UNINDENT# } #NEWLINE# result_msg = standby . _message_format ( msg , image_info , device , partition_uuids ) #NEWLINE# expected_msg = 'image (fake_id) already present on device /dev/fake' #NEWLINE# self . assertEqual ( device , result_msg )