Skip to content

test_basic_working doesn't parameterize #94

@twsl

Description

@twsl

@pytest.mark.parametrize(
"mkdocs_file",
SITES_THAT_SHOULD_SUCCEED,
)
def test_basic_working(tmp_path, mkdocs_file):
"""
combination with mkdocs-macros-plugin lead to error.
See https://github.com/timvink/mkdocs-git-authors-plugin/issues/60
"""
result = build_docs_setup("tests/basic_setup/mkdocs.yml", tmp_path)

should rather be

-      result = build_docs_setup("tests/basic_setup/mkdocs.yml", tmp_path) 
+      result = build_docs_setup(f"tests/basic_setup/{mkdocs_file}", tmp_path) 

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions