Seperating usecase test suite dependencies
[integration/csit.git] / tests / usecases-5G-bulkpm / 5G-bulkpm / resources / xNFLibrary.py
@@ -3,23 +3,28 @@ Created on Aug 18, 2017
 
 @author: sw6830
 '''
+import time
+import uuid
+
 from robot.api import logger
-from Queue import Queue
-import uuid, time, json, threading,os, platform, subprocess,paramiko
+
 
 class xNFLibrary(object):
 
     def __init__(self):
         pass
 
-    def create_header_from_string(self, dictStr):
+    @staticmethod
+    def create_header_from_string(dict_str):
         logger.info("Enter create_header_from_string: dictStr")
-        return dict(u.split("=") for u in dictStr.split(","))
+        return dict(u.split("=") for u in dict_str.split(","))
 
+    @staticmethod
     def Generate_UUID(self):
         """generate a uuid"""
         return uuid.uuid4()
 
+
 if __name__ == '__main__':
     lib = xNFLibrary()
-    time.sleep(100000)
\ No newline at end of file
+    time.sleep(100000)