#NEWLINE# def test_resolves_url_with_arg( self ) : #NEWLINE# #INDENT# custom_urls . resolver . register ( self . urlpatterns , prefix = 'prefix' ) #NEWLINE# ( view , args , kwargs ) = custom_urls . resolver . resolve ( view . publishable , 'prefix/new/43/' ) #NEWLINE# tools . assert_equals ( dummy_view , view ) #NEWLINE# tools . assert_equals ( ( '43' , ) , args ) #NEWLINE# tools . assert_equals ( { #NEWLINE# #INDENT# #NEWLINE# #UNINDENT# } , kwargs )