#NEWLINE# def test_uri_matcher( self ) : #NEWLINE# #INDENT# match = matchers . matcher_registry [ 'uri' ] . match #NEWLINE# assert match ( self . p , { #NEWLINE# #INDENT# 'uri' : 'http://example.com/path/to/end/point?query=string' , #NEWLINE# #UNINDENT# } ) #NEWLINE# assert ( match ( self . p , { #NEWLINE# #INDENT# 'uri' : 'http://example.com' , #NEWLINE# #UNINDENT# } ) is False )