diff options
author | DR695H <dr695h@att.com> | 2019-07-26 15:15:24 -0400 |
---|---|---|
committer | Brian Freeman <bf1936@att.com> | 2019-07-29 21:39:39 +0000 |
commit | ce8a184d15de4298336557fdc48328d3e6c3558e (patch) | |
tree | 3e7988849cafb1756d8c50a254ca4889f56709b9 | |
parent | e74c39b9728a5f3bb949e2c0927259d9059650ab (diff) |
add so delete request
Issue-ID: TEST-73
Change-Id: Ib214795edfb701abb6004237e518fd1c61576f69
Signed-off-by: DR695H <dr695h@att.com>
-rw-r--r-- | robotframework-onap/ONAPLibrary/BaseSOKeywords.py | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/robotframework-onap/ONAPLibrary/BaseSOKeywords.py b/robotframework-onap/ONAPLibrary/BaseSOKeywords.py index 4e28476..d86631b 100644 --- a/robotframework-onap/ONAPLibrary/BaseSOKeywords.py +++ b/robotframework-onap/ONAPLibrary/BaseSOKeywords.py @@ -43,3 +43,8 @@ class BaseSOKeywords(object): 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=accept, auth=auth) + + @keyword + def run_delete_request(self, endpoint, data_path, data, accept="application/json", auth=None): + """Runs an SO delete request""" + return self.reqs.delete_request("so", endpoint, data_path, data=data, accept=accept, auth=auth) |