public-health-ch/tests/conftest.py
2017-03-13 16:59:47 +01:00

10 lines
225 B
Python

import pytest
@pytest.fixture
def site_url(request):
return request.config.getoption("--site-url")
def pytest_addoption(parser):
parser.addoption("--site-url", action="store", default="type1", help="url to test")