aboutsummaryrefslogtreecommitdiffstats
path: root/src/onaptests/scenario/basic_network.py
AgeCommit message (Collapse)AuthorFilesLines
2023-08-05Change cleanup process of testsLukasz Rajewski1-46/+1
Issue-ID: TEST-402 Signed-off-by: Lukasz Rajewski <lukasz.rajewski@t-mobile.pl> Change-Id: Iffe3aeaa4eab6adcabc94d143d1f94a684cd4657
2023-07-17Add pylama into checksMichal Jagiello1-1/+1
Checks code with pylama Issue-ID: INT-2222 Signed-off-by: Michal Jagiello <michal.jagiello@t-mobile.pl> Change-Id: If275ef90f21e3049abe72bcf373473b40846005c
2023-06-20BaseScenario class addedLukasz Rajewski1-8/+6
It prints out settings and will unify logic of scenarios later on. Issue-ID: TEST-395 Signed-off-by: Lukasz Rajewski <lukasz.rajewski@t-mobile.pl> Change-Id: Ie5929e0cc136183d4374b95bfc1600445126c4b6
2022-04-12Log exception stack trace on test failureMichal Jagiello1-2/+2
If test fails and exception is raised most of the test scenarios don't print a stack trace so debugging consume more time. Additionally double check on the SDC service distribution status due to an error on Python ONAP SDK Issue-ID: SDC-3949 Signed-off-by: Michal Jagiello <michal.jagiello@t-mobile.pl> Change-Id: Ifc51dbe287a45d5fbbee788f205d1dbe936516e4
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/+2
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
2021-02-08Python SDK 7.4.0 compatibilityMichal Jagiello1-2/+3
Use Python SDK exceptions. Issue-ID: TEST-302 Signed-off-by: Michal Jagiello <michal.jagiello@t-mobile.pl> Change-Id: I76996817c0d7b91c0214ad521c3768682ff07e83
2020-12-01Better exception handlingSylvain Desbureaux1-11/+2
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-16Added basic_network testcaseandreasgeissler1-0/+67
Issue-ID: TEST-255 Signed-off-by: andreasgeissler <andreas-geissler@telekom.de> Change-Id: I86b34c0980cee7a5824231591a60d1f50dfe4f37 Signed-off-by: mrichomme <morgan.richomme@orange.com>