summaryrefslogtreecommitdiff
path: root/test/conftest.py
diff options
context:
space:
mode:
Diffstat (limited to 'test/conftest.py')
-rw-r--r--test/conftest.py9
1 files changed, 9 insertions, 0 deletions
diff --git a/test/conftest.py b/test/conftest.py
new file mode 100644
index 0000000..9d67cec
--- /dev/null
+++ b/test/conftest.py
@@ -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")