#NEWLINE# def test_case_list_form_parent_child_submodule_advanced( self ) : #NEWLINE# #INDENT# "\n        * Register house (case type = house, basic)\n          * Register house form\n        * Register person (case type = person, parent select = 'Register house', advanced)\n          * Register person form\n        * Update house (case type = house, case list form = 'Register house')\n          * Update house form\n          * Update person (case type = person, case list form = 'Register person form', advanced, parent module = 'Update house')\n              * Update person form\n        " #NEWLINE# factory = AppFactory ( build_version = '2.9' ) #NEWLINE# ( register_house_module , register_house_form ) = factory . new_basic_module ( 'register_house' , 'house' ) #NEWLINE# factory . form_opens_case ( register_house_form ) #NEWLINE# ( register_person_module , register_person_form ) = factory . new_advanced_module ( 'register_person' , 'person' ) #NEWLINE# factory . form_requires_case ( register_person_form , 'house' ) #NEWLINE# factory . form_opens_case ( register_person_form , 'person' , is_subcase = True ) #NEWLINE# ( house_module , update_house_form ) = factory . new_advanced_module ( 'update_house' , 'house' , case_list_form = register_house_form ) #NEWLINE# factory . form_requires_case ( update_house_form ) #NEWLINE# ( person_module , update_person_form ) = factory . new_advanced_module ( 'update_person' , 'person' , parent_module = house_module , case_list_form = register_person_form ) #NEWLINE# factory . form_requires_case ( update_person_form , 'house' ) #NEWLINE# factory . form_requires_case ( update_person_form , 'person' , parent_case_type = 'house' ) #NEWLINE# self . assertXmlEqual ( self . get_xml ( 'case-list-form-suite-parent-child-submodule-advanced' ) , factory . app . create_suite ( ) )