We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 7dbed65 commit 793a783Copy full SHA for 793a783
allure-pytest/src/listener.py
@@ -279,8 +279,8 @@ def _test_fixtures(item):
279
fixturemanager = item.session._fixturemanager
280
fixturedefs = []
281
282
- if hasattr(item, "fixturenames"):
283
- for name in item.fixturenames:
+ if hasattr(item._request, "fixturenames"):
+ for name in item._request.fixturenames:
284
fixturedef = fixturemanager.getfixturedefs(name, item.nodeid)
285
if fixturedef:
286
fixturedefs.append(fixturedef[-1])
allure-pytest/tox.ini
@@ -37,6 +37,7 @@ deps =
37
pytest-flakes
38
pytest-rerunfailures
39
pytest-xdist
40
+ pytest-lazy-fixture
41
mock
42
{distshare}/allure-python-commons-2*.zip
43
{distshare}/allure-python-commons-test-2*.zip
0 commit comments