summaryrefslogtreecommitdiffstats
path: root/robotframework-onap/ONAPLibrary/SO.py
diff options
context:
space:
mode:
authorDR695H <dr695h@att.com>2019-05-24 14:28:57 -0400
committerDR695H <dr695h@att.com>2019-05-24 14:33:55 -0400
commit45b0fbf2f7a814ae23530c35837ebccb927b35e4 (patch)
tree29081d052fda228c3c753f86935743e851cfc4d5 /robotframework-onap/ONAPLibrary/SO.py
parenta027e1100bced326e92b9fe0447f0bf1637095f9 (diff)
create so keywords for use in robot framework
recreates all of SO_Interface into a python component Change-Id: I2a1347cb6614979692244156cefe2849b7894709 Issue-ID: TEST-158 Signed-off-by: DR695H <dr695h@att.com>
Diffstat (limited to 'robotframework-onap/ONAPLibrary/SO.py')
-rw-r--r--robotframework-onap/ONAPLibrary/SO.py29
1 files changed, 29 insertions, 0 deletions
diff --git a/robotframework-onap/ONAPLibrary/SO.py b/robotframework-onap/ONAPLibrary/SO.py
new file mode 100644
index 0000000..b01c14f
--- /dev/null
+++ b/robotframework-onap/ONAPLibrary/SO.py
@@ -0,0 +1,29 @@
+# Copyright 2019 AT&T Intellectual Property. All rights reserved.
+#
+# Licensed under the Apache License, Version 2.0 (the "License");
+# you may not use this file except in compliance with the License.
+# You may obtain a copy of the License at
+#
+# http://www.apache.org/licenses/LICENSE-2.0
+#
+# Unless required by applicable law or agreed to in writing, software
+# distributed under the License is distributed on an "AS IS" BASIS,
+# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+# See the License for the specific language governing permissions and
+# limitations under the License.
+
+from ONAPLibrary.RequestSOKeywords import RequestSOKeywords
+from ONAPLibrary.robotlibcore import HybridCore
+from ONAPLibrary.BaseSOKeywords import BaseSOKeywords
+
+
+class SO(HybridCore):
+ """SO is an ONAP testing library for Robot Framework that provides functionality for interacting with the serivce
+ orchestrator. """
+
+ def __init__(self):
+ self.keyword_implementors = [
+ BaseSOKeywords(),
+ RequestSOKeywords()
+ ]
+ HybridCore.__init__(self, self.keyword_implementors)