aboutsummaryrefslogtreecommitdiffstats
path: root/src/onaptests
diff options
context:
space:
mode:
authorMichal Jagiello <michal.jagiello@t-mobile.pl>2021-03-18 15:53:17 +0000
committerGerrit Code Review <gerrit@onap.org>2021-03-18 15:53:17 +0000
commitb56dfed12c31a2c2ed1623064435897c8b137875 (patch)
tree12618aa9a2346bf1d1e0d39f9a19076284649014 /src/onaptests
parentfb89da9e663ae759fc245b9273e55d06bc57f6a8 (diff)
parent36edfeb236c44dee1b8bec1dfdd9d8adfcffcfcf (diff)
Merge "Remove cert authent in basic_clamp"
Diffstat (limited to 'src/onaptests')
-rw-r--r--src/onaptests/configuration/basic_clamp_settings.py3
-rw-r--r--src/onaptests/steps/loop/clamp.py5
2 files changed, 2 insertions, 6 deletions
diff --git a/src/onaptests/configuration/basic_clamp_settings.py b/src/onaptests/configuration/basic_clamp_settings.py
index 1781c54..d2f38a0 100644
--- a/src/onaptests/configuration/basic_clamp_settings.py
+++ b/src/onaptests/configuration/basic_clamp_settings.py
@@ -1,8 +1,6 @@
import sys
from yaml import load
-from pathlib import Path
-
from .settings import * # pylint: disable=W0614
""" Specific Basic clamp settings."""
@@ -32,7 +30,6 @@ OPERATIONAL_POLICIES = [
}
]
-CERT = (Path.cwd() / 'cert.pem', Path.cwd() / 'cert.key')
# SERVICE_NAME = "ubuntu18agent"
# if a yaml file is define, retrieve info from this yaml files
diff --git a/src/onaptests/steps/loop/clamp.py b/src/onaptests/steps/loop/clamp.py
index 9ae5a5f..e781bd2 100644
--- a/src/onaptests/steps/loop/clamp.py
+++ b/src/onaptests/steps/loop/clamp.py
@@ -29,7 +29,7 @@ class ClampStep(YamlTemplateBaseStep):
super().__init__(cleanup=cleanup)
self._yaml_template: dict = None
self.add_step(OnboardClampStep(cleanup=cleanup))
- Clamp(cert=settings.CERT)
+ Clamp()
self.loop_instance = None
@property
@@ -95,8 +95,7 @@ class ClampStep(YamlTemplateBaseStep):
"""Instantite a closed loopin CLAMP."""
loop = InstantiateLoop(template=loop_template,
loop_name=loop_name,
- operational_policies=operational_policies,
- cert=settings.CERT)
+ operational_policies=operational_policies)
return loop.instantiate_loop()
def loop_counter(self, action: str) -> None: