aboutsummaryrefslogtreecommitdiffstats
path: root/test/mocks/mass-pnf-sim/test_cli.py
AgeCommit message (Collapse)AuthorFilesLines
2020-06-17Pass options to each lifecycle method separatelyBartek Grzybowski1-3/+3
This makes the MassPnfSim object instance stateless. Change-Id: Ic8f7aefa0afb74a15491b5b0e8ba1cb80e3aa3ef Issue-ID: INT-1629 Signed-off-by: Bartek Grzybowski <b.grzybowski@partner.samsung.com>
2020-06-16Support setting custom username/password for the file server serviceBartek Grzybowski1-1/+2
Change-Id: I21964c4b8819444dd0aebdda117a11ba96f92038 Issue-ID: INT-1627 Signed-off-by: Bartek Grzybowski <b.grzybowski@partner.samsung.com>
2020-06-05Support stopping sending PNF registration messages in Python moduleBartek Grzybowski1-2/+4
Change-Id: Iae7d300e6e09d152b6e7daaebd9c85ba763fc077 Issue-ID: INT-1613 Signed-off-by: Bartek Grzybowski <b.grzybowski@partner.samsung.com>
2020-06-05Add test case for invalid '--count' option valueBartek Grzybowski1-0/+18
Change-Id: Ib46c26889f01ce0cd9d90865070d5c5ac9b5d08a Issue-ID: INT-1613 Signed-off-by: Bartek Grzybowski <b.grzybowski@partner.samsung.com>
2020-05-25Add tests for 'trigger_custom' subcommandBartek Grzybowski1-0/+12
Change-Id: I7a2811618adcaaa698a702d264ef2a93bc899704 Issue-ID: INT-1577 Signed-off-by: Bartek Grzybowski <b.grzybowski@partner.samsung.com>
2020-05-25Remove fixture declaration that is defined in pytest configBartek Grzybowski1-5/+0
Change-Id: I37abc052df5f69907ceb9bb81fbc478126e115d5 Issue-ID: INT-1577 Signed-off-by: Bartek Grzybowski <b.grzybowski@partner.samsung.com>
2020-05-20Add tests for CLI script optionsBartek Grzybowski1-0/+47
Change-Id: Iea4b353b37297e04b686d41b3494b00f61cfb9f3 Issue-ID: INT-1577 Signed-off-by: Bartek Grzybowski <b.grzybowski@partner.samsung.com>