Add missing logger for Pnf Scenario 60/118860/1
authorMichal Jagiello <michal.jagiello@t-mobile.pl>
Fri, 5 Mar 2021 16:00:28 +0000 (16:00 +0000)
committerMichal Jagiello <michal.jagiello@t-mobile.pl>
Fri, 5 Mar 2021 16:00:28 +0000 (16:00 +0000)
Issue-ID: INT-1822
Signed-off-by: Michal Jagiello <michal.jagiello@t-mobile.pl>
Change-Id: Ic247446b82e406ce0a8b4477f833bb9f12847836

src/onaptests/scenario/pnf_macro.py

index a045a37..fef8b83 100644 (file)
@@ -1,4 +1,5 @@
 """Instantiate service with PNF using SO macro flow."""
+import logging
 import time
 from yaml import load
 
@@ -100,6 +101,8 @@ class PnfMacroScenarioStep(YamlTemplateBaseStep):
 class PnfMacro(testcase.TestCase):
     """Run PNF simulator and onboard then instantiate a service with PNF."""
 
+    __logger = logging.getLogger(__name__)
+
     def __init__(self, **kwargs):
         """Init Basic Network use case."""
         if "case_name" not in kwargs: