[TEST] Fix multi_vnf_macro scenario. 31/125631/1
authorMichal Jagiello <michal.jagiello@t-mobile.pl>
Fri, 22 Oct 2021 13:46:26 +0000 (13:46 +0000)
committerMichal Jagiello <michal.jagiello@t-mobile.pl>
Mon, 8 Nov 2021 17:30:17 +0000 (17:30 +0000)
Scenario class call itself in the __init__ so it cause the RecursionError

Issue-ID: TEST-358
Signed-off-by: Michal Jagiello <michal.jagiello@t-mobile.pl>
Change-Id: I12cbe4c03414f9f4c94587b450adf58646eda05e
(cherry picked from commit ec14ad158ecd5489cc8169b23015c716f946e909)

src/onaptests/scenario/multi_vnf_macro.py

index 284baf0..404c785 100644 (file)
@@ -114,7 +114,7 @@ class MultiVnfUbuntuMacro(testcase.TestCase):
             kwargs["case_name"] = 'nso_ubuntu_macro'
         super().__init__(**kwargs)
         self.__logger.debug("NSO Ubuntu macro init started")
-        self.test = MultiVnfUbuntuMacro(cleanup=settings.CLEANUP_FLAG)
+        self.test = MultiVnfUbuntuMacroStep(cleanup=settings.CLEANUP_FLAG)
 
     def run(self):
         """Run NSO Ubuntu macro test."""