mirror of
https://github.com/upa/mscp.git
synced 2026-02-04 03:24:58 +08:00
add ctest to run pytest
This commit is contained in:
9
test/conftest.py
Normal file
9
test/conftest.py
Normal file
@@ -0,0 +1,9 @@
|
||||
import pytest
|
||||
|
||||
def pytest_addoption(parser):
|
||||
parser.addoption("--mscp-path", default = "mscp",
|
||||
help = "path to mscp binary")
|
||||
|
||||
@pytest.fixture
|
||||
def mscp(request):
|
||||
return request.config.getoption("--mscp-path")
|
||||
Reference in New Issue
Block a user