#NEWLINE# def test_format_is_resolved_if_literal_string( self ) : #NEWLINE# #INDENT# image_node = _parse_image ( 'image some_photo in "basic" as var_name' . split ( ) ) #NEWLINE# tools . assert_true ( isinstance ( image_node , ImageTag ) ) #NEWLINE# tools . assert_equals ( self . basic_format , image_node . format )