'A message can be provided in addition to a request'

def test_request_and_message(self):

    request = self.rf.get(u'/test_view/')
    reporter = ExceptionReporter(request, None, u"I'm    a    little    teapot", None)
    html = reporter.get_traceback_html()
    self.assertIn(u'<h1>Report    at    /test_view/</h1>', html)
    self.assertIn(u'<pre    class="exception_value">I&#39;m    a    little    teapot</pre>', html)
    self.assertIn(u'<th>Request    Method:</th>', html)
    self.assertIn(u'<th>Request    URL:</th>', html)
    self.assertNotIn(u'<th>Exception    Type:</th>', html)
    self.assertNotIn(u'<th>Exception    Value:</th>', html)
    self.assertNotIn(u'<h2>Traceback    ', html)
    self.assertIn(u'<h2>Request    information</h2>', html)
    self.assertNotIn(u'<p>Request    data    not    supplied</p>', html)
