Files
AI/참고/instructor-main/tests/docs/test_mkdocs.py
2026-05-12 19:40:31 +09:00

17 lines
467 B
Python

import pathlib
import pytest
import importlib
from typing import Any, cast
# Note the use of `str`, makes for pretty output
@pytest.mark.parametrize(
"fpath", pathlib.Path("docs/examples").glob("**/*.md"), ids=str
)
@pytest.mark.skip(reason="This test is not yet implemented")
def test_files_good(fpath):
mktestdocs = cast(Any, importlib.import_module("mktestdocs"))
check_md_file = mktestdocs.check_md_file
check_md_file(fpath=fpath, memory=True)