#NEWLINE# def test_get_value( self ) : #NEWLINE# #INDENT# doc = { #NEWLINE# #INDENT# 'indices' : [ { #NEWLINE# #INDENT# 'referenced_id' : 'abc' , #NEWLINE# 'referenced_type' : 'RegCase' , #NEWLINE# #UNINDENT# } , { #NEWLINE# #INDENT# 'referenced_id' : 'def' , #NEWLINE# 'referenced_type' : 'RegCase' , #NEWLINE# #UNINDENT# } , { #NEWLINE# #INDENT# 'referenced_id' : 'notme' , #NEWLINE# 'referenced_type' : 'OtherCase' , #NEWLINE# #UNINDENT# } ] , #NEWLINE# #UNINDENT# } #NEWLINE# item = CaseIndexItem ( path = [ PathNode ( name = 'indices' ) , PathNode ( name = 'RegCase' ) ] ) #NEWLINE# col = CaseIndexExportColumn ( item = item ) #NEWLINE# self . assertEqual ( col . get_value ( doc ) , 'abc def' )