@pytest.fixture
def schema():
    path_to_schema = os.path.join(os.path.dirname(__file__), 'allure.xsd')
    return etree.XMLSchema(etree.parse(path_to_schema))
schema copied from https://github.com/allure-framework/allure-core/blob/allure-core-1.4.1/allure-model/src/main/resources/allure.xsd
dataset/ETHPy150Open allure-framework/allure-python/tests/conftest.py/schema