#NEWLINE# def test_properties( self ) : #NEWLINE# #INDENT# '\n        AdvancedOpenCaseAction migration should create a CaseIndex with given properties\n        ' #NEWLINE# action = AdvancedOpenCaseAction . wrap ( { #NEWLINE# #INDENT# 'case_type' : 'spam' , #NEWLINE# 'case_tag' : 'ham' , #NEWLINE# 'parent_tag' : 'eggs' , #NEWLINE# 'parent_reference_id' : 'spam' , #NEWLINE# 'relationship' : 'extension' , #NEWLINE# #UNINDENT# } ) #NEWLINE# self . assertEqual ( action . case_indices [ 0 ] . tag , 'eggs' ) #NEWLINE# self . assertEqual ( action . case_indices [ 0 ] . reference_id , 'spam' ) #NEWLINE# self . assertEqual ( action . case_indices [ 0 ] . relationship , 'extension' )