#NEWLINE# def test_view_with_no_args_resolves( self ) : #NEWLINE# #INDENT# custom_urls . resolver . register ( t . urlpatterns , prefix = 'prefix' ) #NEWLINE# t = Template ( '{% load custom_urls_tags %}{% custom_url object prefix %}' ) #NEWLINE# tools . assert_equals ( ( self . url + 'prefix/' ) , t . render ( Context ( { #NEWLINE# #INDENT# 'object' : self . publishable , #NEWLINE# #UNINDENT# } ) ) )