From: DR695H Date: Mon, 9 Sep 2019 17:48:16 +0000 (-0400) Subject: some components expect this field to be a uuid X-Git-Tag: 6.0.0-ONAP~18 X-Git-Url: https://gerrit.onap.org/r/gitweb?a=commitdiff_plain;h=refs%2Fchanges%2F53%2F95253%2F2;p=testsuite%2Fpython-testing-utils.git some components expect this field to be a uuid Issue-ID: TEST-184 Change-Id: Ifaeabcc6608ce94762774679121d664b200caec0 Signed-off-by: DR695H --- diff --git a/robotframework-onap/ONAPLibrary/RequestsHelper.py b/robotframework-onap/ONAPLibrary/RequestsHelper.py index ec0ef2d..6e206ec 100644 --- a/robotframework-onap/ONAPLibrary/RequestsHelper.py +++ b/robotframework-onap/ONAPLibrary/RequestsHelper.py @@ -75,11 +75,10 @@ class RequestsHelper(object): def _create_headers(self, sdc_user_id=None, accept="application/json", content_type="application/json", md5=None): """Create the headers that are used by onap""" - uuid = self.uuid.generate_uuid4() headers = { "Accept": accept, "Content-Type": content_type, - "X-TransactionId": self.application_id + "-" + uuid, + "X-TransactionId": self.uuid.generate_uuid4(), "X-FromAppId": self.application_id } if sdc_user_id is not None: