From e3cf6c73cf030f49b6b974996ee178f815175071 Mon Sep 17 00:00:00 2001 From: Maxim Zhiltsov Date: Wed, 13 Mar 2024 19:43:58 +0200 Subject: [PATCH] Fix paths in test --- tests/test_datumaro_format.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/tests/test_datumaro_format.py b/tests/test_datumaro_format.py index c0197dd533..6089b2242e 100644 --- a/tests/test_datumaro_format.py +++ b/tests/test_datumaro_format.py @@ -201,7 +201,7 @@ def test_can_save_and_load_with_no_save_media(self): @mark_requirement(Requirements.DATUM_GENERAL_REQ) def test_can_import_pcd_dataset(self): - dataset_path = "tests/assets/datumaro_dataset/with_pcd" + dataset_path = str(Path(__file__).parent / "assets" / "datumaro_dataset" / "with_pcd") label_categories = LabelCategories(attributes={"occluded"}) label_categories.add("cat")