#NEWLINE# def test_extract_xml_data_simplest_case( self ) : #NEWLINE# #INDENT# xml = '<name>jojo</name>' #NEWLINE# field = XMLCharField ( path = '/name' , root = None ) #NEWLINE# self . assertEquals ( field . get_prep_value ( xml ) , 'jojo' )