def setUpModule(): """Download sample world, and copy Anvil and McRegion files to temporary folders.""" if ScriptTestCase.worldfolder == None: downloadsample.install() ScriptTestCase.worldfolder = downloadsample.worlddir if ScriptTestCase.mcregionfolder == None: ScriptTestCase.mcregionfolder = downloadsample.temp_mcregion_world() if ScriptTestCase.anvilfolder == None: ScriptTestCase.anvilfolder = downloadsample.temp_anvil_world()