def cbRendered(ignored):
    self.assertEqual(request.responseCode, 404)
    self.assertEqual(len(self.flushLoggedErrors(UnicodeDecodeError)), 1)
def cbRendered(ignored):
    self.assertEqual(request.responseCode, 404)
    self.assertEqual(len(self.flushLoggedErrors(UnicodeDecodeError)), 1)