'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)
    text = reporter.get_traceback_text()
