#NEWLINE# def test_index( self ) : #NEWLINE# #INDENT# parent_case_id = uuid . uuid4 ( ) . hex #NEWLINE# structure = CaseStructure ( indices = [ CaseIndex ( CaseStructure ( case_id = parent_case_id ) ) ] ) #NEWLINE# self . assertEqual ( { #NEWLINE# #INDENT# DEFAULT_CASE_INDEX_IDENTIFIERS [ CaseIndex . DEFAULT_RELATIONSHIP ] : ( CaseIndex . DEFAULT_RELATED_CASE_TYPE , parent_case_id , CaseIndex . DEFAULT_RELATIONSHIP ) , #NEWLINE# #UNINDENT# } , structure . index )