def METHOD_NAME(test):
    # cleanup the non empty logfile
    subprocess.call(["rm","-f",
        os.path.join(test.testcase_path, "data/", "test01/execute_logfile.txt")])
    subprocess.call(["rm"] + ["-rf"] +
            glob.glob(os.path.join(test.testcase_path, "data", "test*")))
    os.mkdir(os.path.join(test.testcase_path, "data", "test_output"))
    subprocess.call(["cp",
        os.path.join(SAMPLE_ASSIGNMENT_CONFIG, "test_output", "hw01part1_sol.txt"),
        os.path.join(test.testcase_path, "data", "test_output")])