aboutsummaryrefslogtreecommitdiffstats
path: root/src/onaptests/utils
AgeCommit message (Collapse)AuthorFilesLines
2023-08-05Change cleanup process of testsLukasz Rajewski1-0/+13
Issue-ID: TEST-402 Signed-off-by: Lukasz Rajewski <lukasz.rajewski@t-mobile.pl> Change-Id: Iffe3aeaa4eab6adcabc94d143d1f94a684cd4657
2023-07-17Add pylama into checksMichal Jagiello1-19/+30
Checks code with pylama Issue-ID: INT-2222 Signed-off-by: Michal Jagiello <michal.jagiello@t-mobile.pl> Change-Id: If275ef90f21e3049abe72bcf373473b40846005c
2023-05-23Refactor status verification testLukasz Rajewski1-0/+4
Issue-ID: INT-2239 Signed-off-by: pawel.denst <pawel.denst@external.t-mobile.pl> Signed-off-by: Lukasz Rajewski <lukasz.rajewski@t-mobile.pl> Change-Id: I6db4d1d46536b0e1d6aeac2d8c9a569ed007f590
2022-01-12[TEST] Basic CNF macroLukasz Rajewski1-0/+8
Basic CNF macro added with refactoring that enables debugging under IDE Also SDK upgraded to 9.2 what required adaptation in existing tests Issue-ID: TEST-376 Signed-off-by: Lukasz Rajewski <lukasz.rajewski@orange.com> Change-Id: I697857bc0c13e86b88b71c3b46e0c4b59751939c Signed-off-by: mrichomme <morgan.richomme@orange.com>
2021-04-07[CLAMP] raise exception in case of Policy or DCAE errorsmorganrol1-0/+8
remove the exit(1) to be sure we got a nice reporting Issue-ID: INT-1819 Signed-off-by: morganrol <morgan.richomme@orange.com> Change-Id: Ie652d382fd649e3537209d6891881db5ee219207
2021-02-22Wrapper for simulatorsEli Halych2-0/+17
Implemented using Avionix. Supports Helm 3 only. The local directory path was defined relative to the package. Remote charts that are described locally are used. Starting the simulator is provided as a regular HTTP or HTTPS request. Issue-ID: INT-1829 Signed-off-by: Eli Halych <illia.halych@t-mobile.pl> Change-Id: Ia17c4043bedd853bf2c068e53d51cd2808a3c0db
2021-02-16[TEST] Collect steps cleanup reportsMichal Jagiello1-0/+3
Collect reports of steps cleanup and present them in report Issue-ID: TEST-305 Signed-off-by: Michal Jagiello <michal.jagiello@t-mobile.pl> Change-Id: Ie288c85a381c6c53e7ffeb441f07e474a135c42d
2021-01-25PNF simulator CNF instantiation and registation stepsMichal Jagiello1-0/+4
Use CNF of PNF simulator in pnf_macro scenario Issue-ID: INT-1822 Signed-off-by: Michal Jagiello <michal.jagiello@t-mobile.pl> Change-Id: Id7f70b45219a36b7fc70921a1438b0cbe57a1756
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
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
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>