summaryrefslogtreecommitdiffstats
path: root/robotframework-onap/ONAPLibrary
diff options
context:
space:
mode:
Diffstat (limited to 'robotframework-onap/ONAPLibrary')
-rw-r--r--robotframework-onap/ONAPLibrary/BaseAAIKeywords.py4
-rw-r--r--robotframework-onap/ONAPLibrary/CloudConfigSOKeywords.py2
-rw-r--r--robotframework-onap/ONAPLibrary/KafkaKeywords.py1
3 files changed, 3 insertions, 4 deletions
diff --git a/robotframework-onap/ONAPLibrary/BaseAAIKeywords.py b/robotframework-onap/ONAPLibrary/BaseAAIKeywords.py
index 0b312df..762a2ee 100644
--- a/robotframework-onap/ONAPLibrary/BaseAAIKeywords.py
+++ b/robotframework-onap/ONAPLibrary/BaseAAIKeywords.py
@@ -80,7 +80,7 @@ class BaseAAIKeywords(object):
def find_node(self, search_node_type, key, node_uuid, auth=None, client_certs=None):
data_path = '/aai/v11/search/nodes-query?search-node-type={0}&filter={1}:EQUALS:{2}'.format(
search_node_type, key, node_uuid)
- resp = self.reqs.get_request("aai", self.aai_endpoint, data_path, accept="application/json", auth=auth,
- client_certs=client_certs)
+ resp = self.reqs.get_request(alias="aai", endpoint=self.aai_endpoint, data_path=data_path,
+ accept="application/json", auth=auth, client_certs=client_certs)
response = resp.json()
return 'result-data' in response
diff --git a/robotframework-onap/ONAPLibrary/CloudConfigSOKeywords.py b/robotframework-onap/ONAPLibrary/CloudConfigSOKeywords.py
index fb8808d..fe487a2 100644
--- a/robotframework-onap/ONAPLibrary/CloudConfigSOKeywords.py
+++ b/robotframework-onap/ONAPLibrary/CloudConfigSOKeywords.py
@@ -31,7 +31,7 @@ class CloudConfigSOKeywords(object):
@keyword
def get_cloud_configuration(self, endpoint, data_path, site_name, auth=None):
"""Gets cloud configuration in SO"""
- return self.reqs.get_request("so", endpoint, data_path + "/" + site_name, auth=auth)
+ return self.reqs.get_request(alias="so", endpoint=endpoint, data_path=data_path + "/" + site_name, auth=auth)
@keyword
def create_cloud_configuration(self, endpoint, data_path, templates_folder, template, arguments, auth=None):
diff --git a/robotframework-onap/ONAPLibrary/KafkaKeywords.py b/robotframework-onap/ONAPLibrary/KafkaKeywords.py
index 44ffb49..329729b 100644
--- a/robotframework-onap/ONAPLibrary/KafkaKeywords.py
+++ b/robotframework-onap/ONAPLibrary/KafkaKeywords.py
@@ -105,5 +105,4 @@ class KafkaKeywords(object):
else:
for tp in partitions:
consumer.seek(tp, offset - 1)
-
return consumer