Skip to content

Commit a56e251

Browse files
committed
update tests
1 parent 143c703 commit a56e251

File tree

1 file changed

+15
-0
lines changed

1 file changed

+15
-0
lines changed

testing/test_mark.py

Lines changed: 15 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -449,6 +449,21 @@ def test_func(a, b):
449449

450450
def test_parametrize_overriden_extended_fixture(pytester: Pytester) -> None:
451451
"""Overriden fixtures must pass over dependend fixtures for parameterization (#12091)"""
452+
pytester.makeconftest(
453+
"""
454+
import pytest
455+
456+
@pytest.fixture
457+
def not_needed():
458+
assert False, "Should not be called!"
459+
460+
@pytest.fixture
461+
def main(foo):
462+
assert False, "Should not be called!"
463+
464+
"""
465+
)
466+
452467
py_file = pytester.makepyfile(
453468
"""\
454469
import pytest

0 commit comments

Comments
 (0)