[TEST] Fix multi_vnf_macro scenario. 76/125276/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>
Fri, 22 Oct 2021 13:46:26 +0000 (13:46 +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

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."""