aboutsummaryrefslogtreecommitdiffstats
path: root/library/python/pytest/allure/conftest.py
blob: 0d5cfda1e5a9dd4e937a86bdee8e4aaf4985edef (plain) (blame)
1
2
3
4
5
6
7
8
import os
import pytest


@pytest.mark.tryfirst
def pytest_configure(config):
    if "ALLURE_REPORT_DIR" in os.environ:
        config.option.allurereportdir = os.environ["ALLURE_REPORT_DIR"]