Package trac :: Package web :: Package tests :: Module main :: Class TestStubRequestHandler

Class TestStubRequestHandler

source code

    object --+    
             |    
core.Component --+
                 |
                TestStubRequestHandler

Nested Classes

Inherited from core.Component: __metaclass__

Instance Methods
 
match_request(self, req) source code
 
process_request(self, req) source code

Inherited from core.Component: __repr__

Inherited from object: __delattr__, __format__, __getattribute__, __hash__, __init__, __new__, __reduce__, __reduce_ex__, __setattr__, __sizeof__, __str__, __subclasshook__

Static Methods

Inherited from core.Component: implements

Class Variables
  filename = 'test_stub.html'
  template = '<!DOCTYPE html\n PUBLIC "-//W3C//DTD XHTML 1.0 ...
Properties

Inherited from object: __class__

Class Variable Details

template

Value:
'''<!DOCTYPE html
    PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN"
    "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">
<html xmlns="http://www.w3.org/1999/xhtml"
      xmlns:py="http://genshi.edgewall.org/">
  <body>
    <h1>${greeting}</h1>
  </body>
...