def METHOD_NAME(self):
    self.temp_dir = mkdtemp()
    self.allComp = getAllComponents(fetchIcons=False)
    self.exp = Experiment() # create once, not every test
    self.exp.addRoutine('trial')
    self.exp.flow.addRoutine(self.exp.routines['trial'], pos=0)
    # Create correctScript subdir for holding correct scripts
    if not os.path.isdir(os.path.join(TESTS_DATA_PATH, "correctScript", "python")):
        os.mkdir(os.path.join(TESTS_DATA_PATH, "correctScript", "python"))