allure-python
allure-python copied to clipboard
Fixture into test Class are not displayed in Allure report when used parametrize fixture
I'm submitting a ...
- [ ] bug report
What is the current behavior?
Pytest fixture write into test class are not displayed in Allure report, if there are parametrize pytest fixture before them.
If the current behavior is a bug, please provide the steps to reproduce and if possible a minimal demo of the problem
I have parametrize pytest fixture
@pytest.fixture(scope="session", params=auth_params)
def public_api_client(request)
pass
and fixture into test class
class TestPublic:
@pytest.fixture(scope="class", autouse=True)
def delete_ws(self, request):
pass
After run tests I see that delete_ws are not displayed in Allure report.
When I delete params in public_api_client I found delete_ws fixture into set up \ tear down section.

What is the expected behavior?
All pytest fixture are displayed in Allure report in set up \ tear down section.
Please tell us about your environment:
- Allure version: 2.16.1
- Test framework: pytest 6.2.5
- Allure adaptor: [email protected]