#NEWLINE# def test_sitemap_item( self ) : #NEWLINE# #INDENT# '\n        Check to make sure that the raw item is included with each\n        Sitemap.get_url() url result.\n        ' #NEWLINE# user_sitemap = GenericSitemap ( { #NEWLINE# #INDENT# 'queryset' : User . objects . all ( ) , #NEWLINE# #UNINDENT# } ) #NEWLINE# def is_user( url ) : #NEWLINE# #INDENT# return isinstance ( url [ 'item' ] , User ) #NEWLINE# #UNINDENT# item_in_url_info = all ( map ( is_user , user_sitemap . get_urls ( ) ) ) #NEWLINE# self . assertTrue ( item_in_url_info )