aboutsummaryrefslogtreecommitdiffstats
path: root/test/mocks/mass-pnf-sim/conftest.py
diff options
context:
space:
mode:
authorBartek Grzybowski <b.grzybowski@partner.samsung.com>2020-05-25 03:10:39 -0700
committerMorgan Richomme <morgan.richomme@orange.com>2020-05-25 14:06:11 +0000
commit5196e3367b316faeb8b6b7d5204333e55e4ea61d (patch)
tree4bf5f7d6a970fd87d5684d39aa65ed4dc762556d /test/mocks/mass-pnf-sim/conftest.py
parent5ca49c964c385b8277c7e9bf0f344f8cbc3c2602 (diff)
Add tests for 'trigger_custom' subcommand
Change-Id: I7a2811618adcaaa698a702d264ef2a93bc899704 Issue-ID: INT-1577 Signed-off-by: Bartek Grzybowski <b.grzybowski@partner.samsung.com>
Diffstat (limited to 'test/mocks/mass-pnf-sim/conftest.py')
-rw-r--r--test/mocks/mass-pnf-sim/conftest.py4
1 files changed, 4 insertions, 0 deletions
diff --git a/test/mocks/mass-pnf-sim/conftest.py b/test/mocks/mass-pnf-sim/conftest.py
index b1f688d17..b5502f304 100644
--- a/test/mocks/mass-pnf-sim/conftest.py
+++ b/test/mocks/mass-pnf-sim/conftest.py
@@ -28,3 +28,7 @@ def args_status(parser):
@pytest.fixture(scope="module")
def args_trigger(parser):
return parser.parse_args(['trigger'])
+
+@pytest.fixture(scope="module")
+def args_trigger_custom(parser):
+ return parser.parse_args(['trigger_custom', '--triggerstart', '0', '--triggerend', str(SIM_INSTANCES-1)])