'Sets up the test module system for the given block.'

def _set_up_module_system(self, block):

    module_system = get_test_system()
    module_system.descriptor_runtime = block._runtime
    block.xmodule_runtime = module_system
