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 f8a9443 commit 5aad4feCopy full SHA for 5aad4fe
allure-pytest/src/listener.py
@@ -266,8 +266,8 @@ def _test_fixtures(item):
266
fixturemanager = item.session._fixturemanager
267
fixturedefs = []
268
269
- if hasattr(item, "fixturenames"):
270
- for name in item.fixturenames:
+ if hasattr(item._request, "fixturenames"):
+ for name in item._request.fixturenames:
271
fixturedef = fixturemanager.getfixturedefs(name, item.nodeid)
272
if fixturedef:
273
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