aboutsummaryrefslogtreecommitdiffstats
path: root/src/onaptests/scenario/basic_vm_macro.py
diff options
context:
space:
mode:
authorMichal Jagiello <michal.jagiello@t-mobile.pl>2021-08-04 08:35:09 +0000
committerMichal Jagiello <michal.jagiello@t-mobile.pl>2021-12-14 13:55:52 +0000
commit54803e59a08d09bbb34cb686740f41b1e7bc3684 (patch)
tree182279aa12e07db86e5c210cbcee7f5500b8206a /src/onaptests/scenario/basic_vm_macro.py
parent337aa506b763cd3c3799a9e874f5c4fccad73fa1 (diff)
[TEST] Do not create simulators in "onap" namespace
As described in ticket - that resource shouldn't be created in onap namespace because if it's not properly deleted it has impact on the security tests results. Note: That change doesn't require any additional work in lab preparation - the namespace is going to be created by MSB K8S plugin. Issue-ID: TEST-356 Signed-off-by: Michal Jagiello <michal.jagiello@t-mobile.pl> Change-Id: I0acf6262e3c8c9fbe9113d96e62960ce36ece04c
Diffstat (limited to 'src/onaptests/scenario/basic_vm_macro.py')
-rw-r--r--src/onaptests/scenario/basic_vm_macro.py6
1 files changed, 3 insertions, 3 deletions
diff --git a/src/onaptests/scenario/basic_vm_macro.py b/src/onaptests/scenario/basic_vm_macro.py
index 67dded9..8bbf0b7 100644
--- a/src/onaptests/scenario/basic_vm_macro.py
+++ b/src/onaptests/scenario/basic_vm_macro.py
@@ -25,10 +25,10 @@ class BasicVmMacroStep(YamlTemplateBaseStep):
super().__init__(cleanup=cleanup)
self._yaml_template: dict = None
self.add_step(CbaPublishStep(
- cleanup=settings.CLEANUP_FLAG
+ cleanup=cleanup
))
self.add_step(YamlTemplateServiceMacroInstantiateStep(
- cleanup=settings.CLEANUP_FLAG
+ cleanup=cleanup
))
@property
@@ -101,7 +101,7 @@ class BasicVmMacroStep(YamlTemplateBaseStep):
class BasicVmMacro(testcase.TestCase):
"""Instantiate a basic vm macro."""
- __logger = logging.getLogger(__name__)
+ __logger = logging.getLogger()
def __init__(self, **kwargs):
"""Init Basic Macro use case."""