parameters: (self, REQUEST)
docstring: do the test query
docstring_summary: do the test query
docstring_tokens: do the test query
function: def manage_test(self, REQUEST):
          """ do the test query """
          src="Could not render the filter template!"
          res=()
          t=v=tb=None
          try:
              try:
                  src=self(REQUEST, src__=1)
                  res=self(REQUEST, tst__=1)
                  r=self.prettyResults(res)
              except:
                  t, v, tb = sys.exc_info()
                  r='<strong>Error, <em>%s</em>:</strong> %s' % (t,v)
  
              report=DocumentTemplate.HTML(
                  '<html><body bgcolor="#ffffff">\n'
                  '<!--#var manage_tabs-->\n<hr>%s\n\n'
                  '<hr><strong>Filter used:</strong><br>\n<pre>\n%s\n</pre>\n<hr>\n'
                  '</body></html>' % (r, src)
                  )
              report=apply(report,(self,REQUEST),{self.id:res})
  
              if tb is not None:
                  self.raise_standardErrorMessage(
                      None, REQUEST, t, v, tb, None, report)
  
              return report
  
          finally: tb=None
function_tokens: def manage_test ( self , REQUEST ) : src = "Could not render the filter template!" res = ( ) t = v = tb = None try : try : src = self ( REQUEST , src__ = 1 ) res = self ( REQUEST , tst__ = 1 ) r = self . prettyResults ( res ) except : t , v , tb = sys . exc_info ( ) r = '<strong>Error, <em>%s</em>:</strong> %s' % ( t , v ) report = DocumentTemplate . HTML ( '<html><body bgcolor="#ffffff">\n' '<!--#var manage_tabs-->\n<hr>%s\n\n' '<hr><strong>Filter used:</strong><br>\n<pre>\n%s\n</pre>\n<hr>\n' '</body></html>' % ( r , src ) ) report = apply ( report , ( self , REQUEST ) , { self . id : res } ) if tb is not None : self . raise_standardErrorMessage ( None , REQUEST , t , v , tb , None , report ) return report finally : tb = None