Skip to content

Commit b869c7e

Browse files
committed
Move Conftest to Plugin
1 parent 78c5987 commit b869c7e

File tree

3 files changed

+13
-9
lines changed

3 files changed

+13
-9
lines changed
Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -297,7 +297,7 @@ def pytest_generate_tests(metafunc: pytest.Metafunc) -> None:
297297
for fixture in metafunc.fixturenames:
298298
match fixture.split('_', 1):
299299
case ['build', directory]:
300-
# Parameterizes the paths under tests/build/<directory> where <directory> is the fixture suffix
300+
# Parametrizes the paths under tests/build/<directory> where <directory> is the fixture suffix
301301

302302
build_data_path = metafunc.config.rootpath / 'tests' / 'build' / directory
303303
metafunc.parametrize(fixture, [build_data_path], scope='session')

pdm.lock

Lines changed: 9 additions & 8 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

pyproject.toml

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -52,6 +52,9 @@ vcpkg = "cppython.plugins.vcpkg.plugin:VcpkgProvider"
5252
[project.entry-points.pdm]
5353
cppython = "cppython.plugins.pdm.plugin:CPPythonPlugin"
5454

55+
[project.entry-points.pytest11]
56+
cppython = "cppython.test.pytest.fixtures"
57+
5558
[dependency-groups]
5659
lint = [
5760
"ruff>=0.8.4",

0 commit comments

Comments
 (0)