#NEWLINE# def test_traject_consume_not_found( ) : #NEWLINE# #INDENT# class app ( morepath . App ) : #NEWLINE# #INDENT# pass #NEWLINE# #UNINDENT# dectate . commit ( app ) #NEWLINE# ( found , request ) = consume ( app ( ) , 'sub' ) #NEWLINE# assert ( found is None ) #NEWLINE# assert ( request . unconsumed == [ 'sub' ] )