features/steps/cli_steps.py
def check_docs_generated(context: behave.runner.Context):
    """Check that new project docs are generated."""
    index_html = (
        context.root_project_dir / "docs" / "build" / "html" / "index.html"
    ).read_text("utf-8")
    project_repo = context.project_name.replace("-", "_")
    assert "Welcome to project’s %s API docs!" % project_repo in index_html
Check that new project docs are generated.
Check that new project docs are generated.
Check that new project docs are generated .
def check_docs_generated(context: behave.runner.Context):
    index_html = (
        context.root_project_dir / "docs" / "build" / "html" / "index.html"
    ).read_text("utf-8")
    project_repo = context.project_name.replace("-", "_")
    assert "Welcome to project’s %s API docs!" % project_repo in index_html
def check_docs_generated ( context : behave . runner . Context ) : index_html = ( context . root_project_dir / "docs" / "build" / "html" / "index.html" ) . read_text ( "utf-8" ) project_repo = context . project_name . replace ( "-" , "_" ) assert "Welcome to project’s %s API docs!" % p oject_repo i  i dex_html
Check that new project docs are generated.
Check that new project docs are generated .
"""Check that new project docs are generated."""
context
behave.runner.Context