This commit is contained in:
QuanyiLi
2023-05-08 17:41:22 +01:00
parent a8669ae730
commit 944c7f3707

View File

@@ -30,7 +30,7 @@ def test_generate_from_error():
set_random_drop(False)
# get error file
file_name = ErrorFile.get_error_file_name(dataset_path)
error_file_path = os.path.join("test_dataset", file_name)
error_file_path = os.path.join(test_dataset_path, file_name)
# regenerate
pass_dataset = os.path.join(SCENARIONET_PACKAGE_PATH, "tests", "tmp", "passed_senarios")
fail_dataset = os.path.join(SCENARIONET_PACKAGE_PATH, "tests", "tmp", "failed_scenarios")