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

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

    self.assertIn('this    module    is    temporarily    unavailable', render_to_string('courseware/error-message.html', None))
