1# Copyright (c) 2024 Nordic Semiconductor ASA 2# 3# SPDX-License-Identifier: Apache-2.0 4 5import pytest 6 7 8def pytest_addoption(parser): 9 parser.addoption('--server-type') 10 parser.addoption('--port') 11 12 13@pytest.fixture() 14def server_type(request): 15 return request.config.getoption('--server-type') 16 17 18@pytest.fixture() 19def port(request): 20 return request.config.getoption('--port') 21