#NEWLINE# def test_show_menu_crumbs( self ) : #NEWLINE# #INDENT# template_str = '{% load treenav_tags %}\n        {% show_menu_crumbs "about-us" %}\n        ' #NEWLINE# team = Team . objects . create ( slug = 'durham-bulls' ) #NEWLINE# ct = ContentType . objects . get ( app_label = 'treenav' , model = 'team' ) #NEWLINE# self . create_menu_item ( ** { #NEWLINE# #INDENT# 'parent' : self . root , #NEWLINE# 'label' : 'Durham Bulls' , #NEWLINE# 'slug' : 'durham-bulls' , #NEWLINE# 'order' : 4 , #NEWLINE# 'content_type' : ct , #NEWLINE# 'object_id' : team . pk , #NEWLINE# #UNINDENT# } ) #NEWLINE# compiled = self . compile_string ( team . get_absolute_url ( ) , self ) #NEWLINE# self . assertTrue ( compiled )