summaryrefslogtreecommitdiffstats
path: root/robotframework-onap/ONAPLibrary/BaseSOKeywords.py
diff options
context:
space:
mode:
authorDR695H <dr695h@att.com>2019-06-13 14:40:27 -0400
committerGary Wu <gary.wu@futurewei.com>2019-06-13 22:05:56 +0000
commit294f996db033c0f8be6143dad201dc9d8b4b6959 (patch)
tree94998644fda9a1b13ed4ffb0c786ab4e4f9170c6 /robotframework-onap/ONAPLibrary/BaseSOKeywords.py
parent0932c69548b13eab93f46e81f939dec2803cd741 (diff)
move dns and uuid to the new format of keywords
Change-Id: I07612b85424c4d687b0c551ecc7727920d2736b0 Issue-ID: TEST-164 Signed-off-by: DR695H <dr695h@att.com>
Diffstat (limited to 'robotframework-onap/ONAPLibrary/BaseSOKeywords.py')
-rw-r--r--robotframework-onap/ONAPLibrary/BaseSOKeywords.py6
1 files changed, 3 insertions, 3 deletions
diff --git a/robotframework-onap/ONAPLibrary/BaseSOKeywords.py b/robotframework-onap/ONAPLibrary/BaseSOKeywords.py
index 1c9f6f3..80ae40c 100644
--- a/robotframework-onap/ONAPLibrary/BaseSOKeywords.py
+++ b/robotframework-onap/ONAPLibrary/BaseSOKeywords.py
@@ -16,7 +16,7 @@ from robot.api import logger
from robot.api.deco import keyword
from robot.libraries.BuiltIn import BuiltIn
-from eteutils.UUID import UUID
+from ONAPLibrary.Utilities import Utilities
class BaseSOKeywords(object):
@@ -26,7 +26,7 @@ class BaseSOKeywords(object):
def __init__(self):
super(BaseSOKeywords, self).__init__()
self.application_id = "robot-ete"
- self.uuid = UUID()
+ self.uuid = Utilities()
self.builtin = BuiltIn()
@keyword
@@ -56,7 +56,7 @@ class BaseSOKeywords(object):
def create_headers(self, accept="application/json"):
"""Create the headers that are used by so"""
- uuid = self.uuid.generate_UUID()
+ uuid = self.uuid.generate_uuid4()
headers = {
"Accept": accept,
"Content-Type": "application/json",