conftest.py
1 # SPDX-License-Identifier: BSD-3-Clause 2 3 import pathlib 4 5 6 def pytest_addoption(parser): 7 here = pathlib.Path(__file__).parent 8 parser.addoption( 9 "--elogtool-path", 10 type=pathlib.Path, 11 default=(here / ".." / "elogtool").resolve(), 12 )