Squash-merge lib-standardisation: adopt repo standards across packaging, tooling, docs, and CI. - standardize pyproject.toml (canonical packaging, lint config, extras, GSDFC pydoclint) - add py.typed marker, modernize type hints and Google-style docstrings - nest generated docs under docs/lib and docs/mcp; add hand-written wiki - adopt standard Type A PyPI CI pipeline (tag==version guard + quality gate) - promote generated CHANGELOG.md; bump version to 0.0.7
21 lines
374 B
Python
21 lines
374 B
Python
from docforge.cli.main import cli
|
|
|
|
|
|
def test_mkdocs_serve(
|
|
cli_runner,
|
|
fake_mkdocs_yml,
|
|
mock_mkdocs_serve,
|
|
):
|
|
result = cli_runner.invoke(
|
|
cli,
|
|
[
|
|
"serve",
|
|
"--mkdocs",
|
|
"--mkdocs-yml",
|
|
str(fake_mkdocs_yml),
|
|
],
|
|
)
|
|
|
|
assert result.exit_code == 0
|
|
assert mock_mkdocs_serve() is True
|