From 6e49a2ec3b143c4d0bce37264f749f6cf8224553 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Nicol=C3=B2=20Boschi?= Date: Wed, 19 Jun 2024 14:41:51 +0200 Subject: [PATCH] fix test: test_data_components.test_directory_without_mocks (#2223) --- tests/unit/test_data_components.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/tests/unit/test_data_components.py b/tests/unit/test_data_components.py index 975c81567..361ca61cd 100644 --- a/tests/unit/test_data_components.py +++ b/tests/unit/test_data_components.py @@ -171,7 +171,7 @@ def test_directory_without_mocks(): # in ../docs/docs/components there are many mdx files # check if the directory component can load them # just check if the number of results is the same as the number of files - docs_path = Path(__file__).parent.parent / "docs" / "docs" / "components" + docs_path = Path(__file__).parent.parent.parent / "docs" / "docs" / "components" results = directory_component.build(str(docs_path), use_multithreading=False) docs_files = list(docs_path.glob("*.mdx")) assert len(results) == len(docs_files)