aboutsummaryrefslogtreecommitdiffstats
path: root/src/onaptests/scenario/basic_cnf.py
AgeCommit message (Collapse)AuthorFilesLines
2021-04-21[EXCEPTIONS] Distinguish onaptests and onapsdk exceptionmorganrol1-1/+4
there is no error_message method on onapsdk exception as a consequence we may raise a new excpetion when catching sdk exception leading to the non generation of the report Issue-ID: TEST-332 Signed-off-by: morganrol <morgan.richomme@orange.com> Change-Id: I42d1413ef142e29eeafdfe701f136ae45b097de4
2021-02-11[INT] Catch all onaptests and onapsdk exceptions for scenariosMichal Jagiello1-2/+3
Catch onaptests and onapsdk exceptions in scenario to generate test report if test fails Issue-ID: INT-1852 Signed-off-by: Michal Jagiello <michal.jagiello@t-mobile.pl> Change-Id: Id9772fea10dc5aa323437e72c6fe5ddb4c6caabb
2020-12-01Better exception handlingSylvain Desbureaux1-26/+3
Instead of catching all exceptions that can occurs and miss one, let's create a "parent" exception class for OnapTest and catch only this one. In order to know what's the error, we also create a class attribute (`error_message`) that gives us the reason for exception. Issue-ID: INT-1796 Signed-off-by: Sylvain Desbureaux <sylvain.desbureaux@orange.com> Change-Id: I798d8c6270c466b1d9be6511f52fd9441401c9c8
2020-10-16Revert "Revert "Create basic_cnf test leveraging onapsdk""Thierry Hardy1-0/+77
This reverts commit ded9ae3b507b9687a68cc00dfc75e13130be13ff. Reason for revert: ONAP SDK 7.1 version is released Correction hardcode value (k8s) and onapsdk version to 7.1.0 Issue-ID: TEST-243 Change-Id: I535af4298f79a34476074612079dc479d2fc0b61 Signed-off-by: Thierry Hardy <thierry.hardy@orange.com>
2020-10-13Revert "Create basic_cnf test leveraging onapsdk"Morgan Richomme1-47/+0
This reverts commit 0123c525b0182a5d6f9cd1bee3830eb1956239c7. Reason for revert: <it is breaking basic_vm because ModuleNotFoundError: No module named 'onapsdk.msb.k8s' > Issue-ID: TEST-243 Change-Id: Iaf398a11b296b2c2bf55d9a25a588cd32e44077a Signed-off-by: Morgan Richomme <morgan.richomme@orange.com>
2020-10-08Create basic_cnf test leveraging onapsdkThierry Hardy1-0/+47
Add the scenario basic_cnf that uses multicloud-k8s plugin to instantiate cnf on k8s Add the removal of profile in cleanup part Add store_state Issue-ID: TEST-243 Signed-off-by: Thierry Hardy <thierry.hardy@orange.com> Change-Id: Ib743c259decf95cdc69975e1ef7d4ba7aadccfae