Fix Cert-service tests
[integration/csit.git] / tests / usecases-5G-bulkpm / 5G-bulkpm / resources / xNFLibrary.py
1 '''
2 Created on Aug 18, 2017
3
4 @author: sw6830
5 '''
6 import time
7 import uuid
8
9 from robot.api import logger
10
11
12 class xNFLibrary(object):
13
14     def __init__(self):
15         pass
16
17     @staticmethod
18     def create_header_from_string(dict_str):
19         logger.info("Enter create_header_from_string: dictStr")
20         return dict(u.split("=") for u in dict_str.split(","))
21
22     @staticmethod
23     def Generate_UUID(self):
24         """generate a uuid"""
25         return uuid.uuid4()
26
27
28 if __name__ == '__main__':
29     lib = xNFLibrary()
30     time.sleep(100000)