mirror of
https://gitflic.ru/project/openide/openide.git
synced 2025-12-16 22:51:17 +07:00
Report warning if a fixture is used without being passed to test function parameters or to `@pytest.mark.usefixtures` decorator. Co-authored-by: Denis Mashutin <Denis.Mashutin@jetbrains.com> Merge-request: IJ-MR-108713 Merged-by: Egor Eliseev <Egor.Eliseev@jetbrains.com> GitOrigin-RevId: 28d0711b99ab7ae180f672306dd4ab8a81f1feec
6 lines
89 B
Python
6 lines
89 B
Python
import pytest
|
|
from simpleUnpassedFixture import foo
|
|
|
|
def test_(foo):
|
|
assert foo == 1
|