С помощью pytest.skip
или pytest.xfail
, я могу отметить тест как пропущенный или xfailed изнутри приспособления. А вот pytest.pass
нет. Как я могу отметить его как пройденное?
import pytest
@pytest.fixture
def fixture():
#pytest.skip()
pytest.xfail()
def test(fixture):
assert False