diff options
Diffstat (limited to 'tests/usecases-5G-bulkpm/5G-bulkpm/resources/xNFLibrary.py')
-rw-r--r-- | tests/usecases-5G-bulkpm/5G-bulkpm/resources/xNFLibrary.py | 30 |
1 files changed, 30 insertions, 0 deletions
diff --git a/tests/usecases-5G-bulkpm/5G-bulkpm/resources/xNFLibrary.py b/tests/usecases-5G-bulkpm/5G-bulkpm/resources/xNFLibrary.py new file mode 100644 index 00000000..b70d8095 --- /dev/null +++ b/tests/usecases-5G-bulkpm/5G-bulkpm/resources/xNFLibrary.py @@ -0,0 +1,30 @@ +''' +Created on Aug 18, 2017 + +@author: sw6830 +''' +import time +import uuid + +from robot.api import logger + + +class xNFLibrary(object): + + def __init__(self): + pass + + @staticmethod + def create_header_from_string(dict_str): + logger.info("Enter create_header_from_string: dictStr") + 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) |