aboutsummaryrefslogtreecommitdiffstats
path: root/host
diff options
context:
space:
mode:
Diffstat (limited to 'host')
-rw-r--r--host/tests/pytests/conftest.py4
1 files changed, 4 insertions, 0 deletions
diff --git a/host/tests/pytests/conftest.py b/host/tests/pytests/conftest.py
index eaacb81a3..087fd2f8a 100644
--- a/host/tests/pytests/conftest.py
+++ b/host/tests/pytests/conftest.py
@@ -22,18 +22,22 @@ def pytest_addoption(parser):
parser.addoption(
"--addr",
type=str,
+ nargs='?',
help="address of first 10 GbE interface",)
parser.addoption(
"--second_addr",
type=str,
+ nargs='?',
help="address of second 10 GbE interface")
parser.addoption(
"--name",
type=str,
+ nargs='?',
help="name of B2xx device")
parser.addoption(
"--mgmt_addr",
type=str,
+ nargs='?',
help="address of management interface. only needed for DPDK test cases")
parser.addoption(
"--dut_type",