aboutsummaryrefslogtreecommitdiffstats
path: root/test/mocks/mass-pnf-sim/test_cli.py
diff options
context:
space:
mode:
authorBartek Grzybowski <b.grzybowski@partner.samsung.com>2020-06-05 15:07:56 +0200
committerMorgan Richomme <morgan.richomme@orange.com>2020-06-05 13:47:18 +0000
commita3737ae0e71cc2658fd4a673cfa91001b03b3680 (patch)
treedb4797cd876c55e541ed60cd03e2c9b9c57f1116 /test/mocks/mass-pnf-sim/test_cli.py
parentdf5004b094fb34c72eb7c96961a466a2b6f69f22 (diff)
Support stopping sending PNF registration messages in Python module
Change-Id: Iae7d300e6e09d152b6e7daaebd9c85ba763fc077 Issue-ID: INT-1613 Signed-off-by: Bartek Grzybowski <b.grzybowski@partner.samsung.com>
Diffstat (limited to 'test/mocks/mass-pnf-sim/test_cli.py')
-rw-r--r--test/mocks/mass-pnf-sim/test_cli.py6
1 files changed, 4 insertions, 2 deletions
diff --git a/test/mocks/mass-pnf-sim/test_cli.py b/test/mocks/mass-pnf-sim/test_cli.py
index 0f464167a..3e4a60e45 100644
--- a/test/mocks/mass-pnf-sim/test_cli.py
+++ b/test/mocks/mass-pnf-sim/test_cli.py
@@ -36,7 +36,8 @@ def test_validate_trigger_custom(parser, caplog):
'start',
'stop',
'trigger',
- 'status'
+ 'status',
+ 'stop_simulator'
])
def test_count_option(parser, capsys, subcommand):
'''Test case where no arg passed to '--count' opt'''
@@ -50,7 +51,8 @@ def test_count_option(parser, capsys, subcommand):
'start',
'stop',
'trigger',
- 'status'
+ 'status',
+ 'stop_simulator'
])
def test_count_option_bad_value(parser, caplog, subcommand):
'''Test case where invalid value passed to '--count' opt'''