'Create a runtime that actually does html rendering'

def new_module_runtime(self):

    runtime = super(XModuleRenderingTestBase, self).new_module_runtime()
    runtime.render_template = render_to_string
    return runtime
