#NEWLINE# def it_adds_a_get_or_add_method_for_the_child_element( self , get_or_add_fixture ) : #NEWLINE# #INDENT# ( parent , expected_xml ) = get_or_add_fixture #NEWLINE# zooChild = parent . get_or_add_zooChild ( ) #NEWLINE# assert isinstance ( zooChild , CT_ZooChild ) #NEWLINE# assert ( parent . xml == expected_xml )