1
2import pytest
3
4
5def pytest_addoption(parser) -> None:
6 group = parser.getgroup('userver')
7 group.addoption('--test-binary', type=str, help='Path to build utility.')
8
9
10@pytest.fixture(scope='session')
11def path_to_json2yaml(pytestconfig):
12 return pytestconfig.option.test_binary
13