From ce8a184d15de4298336557fdc48328d3e6c3558e Mon Sep 17 00:00:00 2001 From: DR695H Date: Fri, 26 Jul 2019 15:15:24 -0400 Subject: add so delete request Issue-ID: TEST-73 Change-Id: Ib214795edfb701abb6004237e518fd1c61576f69 Signed-off-by: DR695H --- robotframework-onap/ONAPLibrary/BaseSOKeywords.py | 5 +++++ 1 file changed, 5 insertions(+) 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) -- cgit 1.2.3-korg