monkey/envs/os_compatibility/conftest.py

16 lines
304 B
Python
Raw Permalink Normal View History

import pytest
def pytest_addoption(parser):
2021-04-06 21:19:27 +08:00
parser.addoption(
"--island",
action="store",
default="",
help="Specify the Monkey Island address (host+port).",
)
2021-04-06 21:19:27 +08:00
@pytest.fixture(scope="module")
def island(request):
return request.config.getoption("--island")