Код: Выделить всё
@pytest.fixture(scope="module")
def run_id(request):
return request.config.getoption("--run-id")
Подробнее здесь: https://stackoverflow.com/questions/775 ... t-fixtures
Код: Выделить всё
@pytest.fixture(scope="module")
def run_id(request):
return request.config.getoption("--run-id")