#NEWLINE# def test_xmlstr( self ) : #NEWLINE# #INDENT# doc = '<ul id="nav"><li>a</li><li>b</li><li>c</li></ul>' #NEWLINE# df = loaders . xmlstr ( doc ) #NEWLINE# self . assertEquals ( df . load ( ) [ 0 ] , doc )