summaryrefslogtreecommitdiffstats
path: root/robotframework-onap/ONAPLibrary/BaseAAIKeywords.py
diff options
context:
space:
mode:
authorDR695H <dr695h@att.com>2019-07-25 14:43:43 -0400
committerDR695H <dr695h@att.com>2019-07-25 15:19:48 -0400
commit8fc1a7e09a6be2b463700f3523ef9b5f8089d945 (patch)
treeff91f919b11f279e98607188015e21dd776f4a1c /robotframework-onap/ONAPLibrary/BaseAAIKeywords.py
parent7145fe029d00811ac04fca0c4891c04087edf5b0 (diff)
aai should not check status code
Issue-ID: TEST-179 Change-Id: I5573b38d001ea43372471bd48a9214d6fc7d8ea1 Signed-off-by: DR695H <dr695h@att.com>
Diffstat (limited to 'robotframework-onap/ONAPLibrary/BaseAAIKeywords.py')
-rw-r--r--robotframework-onap/ONAPLibrary/BaseAAIKeywords.py4
1 files changed, 1 insertions, 3 deletions
diff --git a/robotframework-onap/ONAPLibrary/BaseAAIKeywords.py b/robotframework-onap/ONAPLibrary/BaseAAIKeywords.py
index 25f36e2..2804e23 100644
--- a/robotframework-onap/ONAPLibrary/BaseAAIKeywords.py
+++ b/robotframework-onap/ONAPLibrary/BaseAAIKeywords.py
@@ -35,9 +35,7 @@ class BaseAAIKeywords(object):
def run_get_request(self, endpoint, data_path, accept="application/json", auth=None):
"""Runs an AAI get request"""
self.http.disable_warnings()
- resp = self.reqs.get_request("aai", endpoint, data_path, sdc_user=None, accept=accept, auth=auth)
- self.builtin.should_be_equal_as_strings(resp.status_code, "200")
- return resp
+ return self.reqs.get_request("aai", endpoint, data_path, sdc_user=None, accept=accept, auth=auth)
@keyword
def run_post_request(self, endpoint, data_path, data, accept="application/json", auth=None):