참고소스 수정본
This commit is contained in:
16
참고/instructor-main/tests/docs/test_mkdocs.py
Normal file
16
참고/instructor-main/tests/docs/test_mkdocs.py
Normal file
@@ -0,0 +1,16 @@
|
||||
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)
|
||||
Reference in New Issue
Block a user