Team Ai
Modelpublic

Felipe97/llama-cpp-compiled

sourceHugging Faceupdated 21d agoView on Hugging Face
0likes1.2kdownloads
conftest.py21 linesDownload Raw Back to tests
1"""Shared pytest fixtures for QDC on-device test runners."""2 3import os4 5import pytest6from appium import webdriver7 8from utils import options, write_qdc_log9 10 11@pytest.fixture(scope="session", autouse=True)12def driver():13    return webdriver.Remote(command_executor="http://127.0.0.1:4723/wd/hub", options=options)14 15 16def pytest_sessionfinish(session, exitstatus):17    xml_path = getattr(session.config.option, "xmlpath", None) or "results.xml"18    if os.path.exists(xml_path):19        with open(xml_path) as f:20            write_qdc_log("results.xml", f.read())21