summaryrefslogtreecommitdiffstats
path: root/robotframework-onap/ONAPLibrary/BaseSOKeywords.py
diff options
context:
space:
mode:
authorDR695H <dr695h@att.com>2019-07-22 18:20:48 -0400
committerDR695H <dr695h@att.com>2019-07-22 18:20:48 -0400
commit27daa1a7268eee676d67a3e63a962161658aaf43 (patch)
treef425aaee0a9b2ab063c3dac05cb90a84a68e8785 /robotframework-onap/ONAPLibrary/BaseSOKeywords.py
parentbec8e3fc497a718503a7257040c90fcb595fb1c8 (diff)
correct the order of parameters
Issue-ID: TEST-177 Change-Id: I57a6c890379f5bb83160ffe827d51c31e517b9fd Signed-off-by: DR695H <dr695h@att.com>
Diffstat (limited to 'robotframework-onap/ONAPLibrary/BaseSOKeywords.py')
-rw-r--r--robotframework-onap/ONAPLibrary/BaseSOKeywords.py6
1 files changed, 3 insertions, 3 deletions
diff --git a/robotframework-onap/ONAPLibrary/BaseSOKeywords.py b/robotframework-onap/ONAPLibrary/BaseSOKeywords.py
index dae3ea6..4e28476 100644
--- a/robotframework-onap/ONAPLibrary/BaseSOKeywords.py
+++ b/robotframework-onap/ONAPLibrary/BaseSOKeywords.py
@@ -30,16 +30,16 @@ class BaseSOKeywords(object):
@keyword
def run_get_request(self, endpoint, data_path, accept="application/json", auth=None):
"""Runs an SO get request"""
- resp = self.reqs.get_request("so", endpoint, data_path, accept, auth)
+ resp = self.reqs.get_request("so", endpoint, data_path, accept=accept, auth=auth)
self.builtin.should_be_equal_as_strings(resp.status_code, "200")
return resp
@keyword
def run_post_request(self, endpoint, data_path, data, accept="application/json", auth=None):
"""Runs an SO post request"""
- return self.reqs.post_request("so", endpoint, data_path, data, accept, auth)
+ return self.reqs.post_request("so", endpoint, data_path, data, accept=accept, auth=auth)
@keyword
def run_put_request(self, endpoint, data_path, data, accept="application/json", auth=None):
"""Runs an SO post request"""
- return self.reqs.put_request("so", endpoint, data_path, data, accept, auth)
+ return self.reqs.put_request("so", endpoint, data_path, data, accept=accept, auth=auth)