Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
1 change: 1 addition & 0 deletions pyproject.toml
Original file line number Diff line number Diff line change
Expand Up @@ -160,6 +160,7 @@ markers = [
"isolated: Needs an isolated virtualenv",
"network: Needs a network connection to setup or run",
"setuptools: Tests setuptools integration",
"upstream: Intended to check our own development",
"virtualenv: Needs a virtualenv",
]
norecursedirs = ["tests/packages/**"]
Expand Down
6 changes: 5 additions & 1 deletion tests/test_schema.py
Original file line number Diff line number Diff line change
Expand Up @@ -13,6 +13,8 @@

DIR = Path(__file__).parent.resolve()

pytestmark = pytest.mark.upstream


def test_compare_schemas():
"""
Expand All @@ -28,7 +30,9 @@ def test_compare_schemas():
]


@pytest.mark.parametrize("filepath", SCHEMAS)
@pytest.mark.parametrize(
"filepath", SCHEMAS, ids=lambda x: str(x.relative_to(DIR.parent).parent)
)
def test_valid_schemas_files(filepath: Path) -> None:
api = pytest.importorskip("validate_pyproject.api")

Expand Down
7 changes: 6 additions & 1 deletion tests/test_simplest_c.py
Original file line number Diff line number Diff line change
Expand Up @@ -45,7 +45,12 @@ def test_pep517_sdist(tmp_path, monkeypatch):
@pytest.mark.compile
@pytest.mark.configure
@pytest.mark.parametrize(
"component", [[], ["PythonModule"], ["PythonModule", "Generated"]]
"component",
[
pytest.param([], id="all"),
pytest.param(["PythonModule"], id="one"),
pytest.param(["PythonModule", "Generated"], id="two"),
],
)
def test_pep517_wheel(tmp_path, monkeypatch, virtualenv, component):
dist = tmp_path / "dist"
Expand Down
Loading