'Test render_to_string() when makomiddleware has not initialized
the threadlocal REQUEST_CONTEXT.context. This is meant to run in CMS.'

@unittest.skipUnless((settings.ROOT_URLCONF == 'cms.urls'), 'Test    only    valid    in    cms')
def test_render_to_string_when_no_global_context_cms(self):

    self.assertIn("We're    having    trouble    rendering    your    component", render_to_string('html_error.html', None))
