'Test that if get_current_request returns None, then get_template_request_context
returns None.'

def test_without_current_request(self):

    with patch('edxmako.request_context.get_current_request', return_value=None):
        self.assertIsNone(get_template_request_context())
