def test_getRootURL(self):
        request = FakeRequest()
        self.assertIdentical(request.getRootURL(), None)
        request.rememberRootURL("foo/bar")
        self.assertEqual(request.getRootURL(), "foo/bar")
Format error message as HTTP response.
dataset/ETHPy150Open twisted/nevow/nevow/test/test_testutil.py/TestFakeRequest.test_getRootURL--crossover with--dataset/ETHPy150Open flask-admin/flask-admin/flask_admin/contrib/rediscli.py/RedisCli._error