aboutsummaryrefslogtreecommitdiffstats
path: root/src/onaptests/scenario/pnf_macro.py
diff options
context:
space:
mode:
authorMichal Jagiello <michal.jagiello@t-mobile.pl>2021-03-05 16:00:28 +0000
committerMichal Jagiello <michal.jagiello@t-mobile.pl>2021-03-05 16:00:28 +0000
commit9b854cc5a5e788fca5edfd557f9a0f58cbf34862 (patch)
tree0e8cf63b538ddf4617bb8b8e615e1362b75feadb /src/onaptests/scenario/pnf_macro.py
parentca74c6ae7ad7dfd03f547fcd706bdfcdde1b20b4 (diff)
Add missing logger for Pnf Scenario
Issue-ID: INT-1822 Signed-off-by: Michal Jagiello <michal.jagiello@t-mobile.pl> Change-Id: Ic247446b82e406ce0a8b4477f833bb9f12847836
Diffstat (limited to 'src/onaptests/scenario/pnf_macro.py')
-rw-r--r--src/onaptests/scenario/pnf_macro.py3
1 files changed, 3 insertions, 0 deletions
diff --git a/src/onaptests/scenario/pnf_macro.py b/src/onaptests/scenario/pnf_macro.py
index a045a37..fef8b83 100644
--- a/src/onaptests/scenario/pnf_macro.py
+++ b/src/onaptests/scenario/pnf_macro.py
@@ -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: