aboutsummaryrefslogtreecommitdiffstats
path: root/src/onaptests/utils
AgeCommit message (Collapse)AuthorFilesLines
2020-12-02Minor typo correctionsLasse Kaihlavirta1-3/+3
- follow-up on https://gerrit.onap.org/r/c/testsuite/pythonsdk-tests/+/115972 Issue-ID: INT-1796 Signed-off-by: Lasse Kaihlavirta <l.kaihlavirt@partner.samsung.com> Change-Id: I8921f5aa344a3da9c40fbe20a146819587968bd1 (cherry picked from commit 22c437b66aefad6e7aac4620e25783596341d204)
2020-12-01Better exception handlingSylvain Desbureaux1-20/+32
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 (cherry picked from commit 9c71e24adaaedd07d7e2e65922c5a3cee27318c9)
2020-10-16Revert "Revert "Create basic_cnf test leveraging onapsdk""Thierry Hardy1-0/+6
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-14Improve xtesting integrationmrichomme2-0/+52
All the exceptions shall be caught by the use case Issue-ID: TEST-257 Signed-off-by: mrichomme <morgan.richomme@orange.com> Change-Id: Ie2762ad869d8984ce2125db4a8ef4990ee50f82a Signed-off-by: mrichomme <morgan.richomme@orange.com>