This tests the middleware, using a basically static site and applying themes. First we'll setup the site, using urlmap: >>> from paste.urlmap import URLMap >>> from webob import Request, Response >>> app = URLMap() A theme: >>> app['/theme.html'] = Response('''\ ... ...
...