~azzar1/unity/add-show-desktop-key

« back to all changes in this revision

Viewing changes to ivle/webapp/base/xhtml.py

  • Committer: William Grant
  • Date: 2010-02-18 06:43:57 UTC
  • Revision ID: grantw@unimelb.edu.au-20100218064357-a43eajvau1gpzw29
Add ivle.tests, move ivle.test_chat into there, and be slightly more idiomatic.

Show diffs side-by-side

added added

removed removed

Lines of Context:
245
245
    def populate(self, req, ctx):
246
246
        ctx['req'] = req
247
247
        ctx['exception'] = self.context
248
 
        req.headers_out['X-IVLE-Error'] = self.context.message
249
248
 
250
249
class XHTMLUnauthorizedView(XHTMLErrorView):
251
250
    template = 'xhtmlunauthorized.html'