11 lines
219 B
Python
11 lines
219 B
Python
import pytest
|
|
|
|
|
|
def pytest_addoption(parser):
|
|
parser.addoption("--entry-point", action="store", default="python-api")
|
|
|
|
|
|
@pytest.fixture
|
|
def entry_point(request):
|
|
return request.config.getoption("--entry-point")
|