aboutsummaryrefslogtreecommitdiffstats
path: root/tests/usecases-5G-bulkpm/5G-bulkpm/resources/xNFLibrary.py
blob: b70d8095e19d6a2550e6b110dbecb4f62ff6079e (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
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)