passerelle/functests/planitech/conftest.py

11 lines
232 B
Python
Raw Normal View History

2018-11-09 16:36:24 +01:00
import pytest
def pytest_addoption(parser):
2021-02-20 16:26:01 +01:00
parser.addoption("--url", help="Url of a passerelle Planitech connector instance")
2018-11-09 16:36:24 +01:00
@pytest.fixture(scope='session')
def conn(request):
return request.config.getoption("--url")