summaryrefslogtreecommitdiffstats
path: root/robotframework-onap/ONAPLibrary/BaseSDCKeywords.py
diff options
context:
space:
mode:
authorDR695H <dr695h@att.com>2019-07-26 15:56:10 -0400
committerBrian Freeman <bf1936@att.com>2019-07-29 21:40:48 +0000
commit0605e351036d386b9ca7282dee848b0ce1848274 (patch)
treea41683f4adf1ee2b70b4cd9f02429bc3aad71d2d /robotframework-onap/ONAPLibrary/BaseSDCKeywords.py
parentce8a184d15de4298336557fdc48328d3e6c3558e (diff)
remove the 200 for sdc too
Issue-ID: TEST-174 Change-Id: I617b1efd11867b13e318387c49c29030c27bbe49 Signed-off-by: DR695H <dr695h@att.com>
Diffstat (limited to 'robotframework-onap/ONAPLibrary/BaseSDCKeywords.py')
-rw-r--r--robotframework-onap/ONAPLibrary/BaseSDCKeywords.py4
1 files changed, 1 insertions, 3 deletions
diff --git a/robotframework-onap/ONAPLibrary/BaseSDCKeywords.py b/robotframework-onap/ONAPLibrary/BaseSDCKeywords.py
index f3b93af..6f71078 100644
--- a/robotframework-onap/ONAPLibrary/BaseSDCKeywords.py
+++ b/robotframework-onap/ONAPLibrary/BaseSDCKeywords.py
@@ -31,9 +31,7 @@ class BaseSDCKeywords(object):
@keyword
def run_get_request(self, endpoint, data_path, user, accept="application/json", auth=None):
"""Runs an SDC get request"""
- resp = self.reqs.get_request("sdc", endpoint, data_path, sdc_user=user, accept=accept, auth=auth)
- self.builtin.should_be_equal_as_strings(resp.status_code, "200")
- return resp
+ return self.reqs.get_request("sdc", endpoint, data_path, sdc_user=user, accept=accept, auth=auth)
@keyword
def run_post_request(self, endpoint, data_path, data, user, accept="application/json", auth=None):