fix test
This commit is contained in:
@@ -10,6 +10,7 @@ from scenarionet.verifier.utils import verify_loading_into_metadrive
|
||||
def test_combine_multiple_dataset():
|
||||
dataset_name = "nuscenes"
|
||||
original_dataset_path = os.path.join(SCENARIONET_PACKAGE_PATH, "tests", "test_dataset", dataset_name)
|
||||
test_dataset_path = os.path.join(SCENARIONET_PACKAGE_PATH, "tests", "test_dataset")
|
||||
dataset_paths = [original_dataset_path + "_{}".format(i) for i in range(5)]
|
||||
|
||||
output_path = os.path.join(SCENARIONET_PACKAGE_PATH, "tests", "tmp", "combine")
|
||||
@@ -20,7 +21,7 @@ def test_combine_multiple_dataset():
|
||||
for scenario_file in sorted_scenarios:
|
||||
read_scenario(dataset_path, mapping, scenario_file)
|
||||
success, result = verify_loading_into_metadrive(
|
||||
dataset_path, result_save_dir="test_dataset", steps_to_run=1000, num_workers=4
|
||||
dataset_path, result_save_dir=test_dataset_path, steps_to_run=1000, num_workers=4
|
||||
)
|
||||
assert success
|
||||
|
||||
|
||||
Reference in New Issue
Block a user