fix test: test_data_components.test_directory_without_mocks (#2223)
This commit is contained in:
parent
f18ca3d8a1
commit
6e49a2ec3b
1 changed files with 1 additions and 1 deletions
|
|
@ -171,7 +171,7 @@ def test_directory_without_mocks():
|
||||||
# in ../docs/docs/components there are many mdx files
|
# in ../docs/docs/components there are many mdx files
|
||||||
# check if the directory component can load them
|
# check if the directory component can load them
|
||||||
# just check if the number of results is the same as the number of files
|
# 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)
|
results = directory_component.build(str(docs_path), use_multithreading=False)
|
||||||
docs_files = list(docs_path.glob("*.mdx"))
|
docs_files = list(docs_path.glob("*.mdx"))
|
||||||
assert len(results) == len(docs_files)
|
assert len(results) == len(docs_files)
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue