Exemple #1
0
 def __init__(self):
     self.config = conf.Config()
     self.log = log.MyLog()
     self.data = conf_relevance.ConfRelevance(
         CONF_PATH, "test_data").get_relevance_conf()
     self.headers = {
         "User-Agent":
         "Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/74.0.3729.169 Safari/537.36",
         "Content-Type": "application/json",
         "X-Auth-Token": self.config.token
     }
    def __init__(self):
        self.config = conf.Config()
        self.log = log.MyLog()
        self.relevance = conf_relevance.ConfRelevance(
            CONF_PATH, "test_data").get_relevance_conf()
        self.headers = {
            "User-Agent":
            "Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/74.0.3729.169 Safari/537.36",
            "Content-Type": "application/json",
            "X-Auth-Token": "${token_id}$"
        }

        self.address = {
            "address":
            "/v3/projects/${project_id}$/users/${admin_id}$/roles/${admin_role_id}$"
        }
Exemple #3
0
 def __init__(self):
     self.config = conf.Config()
     self.log = log.MyLog()
     self.relevance = conf_relevance.ConfRelevance(
         CONF_PATH, "test_data").get_relevance_conf()
 def setup(self):
     self.relevance = conf_relevance.ConfRelevance(
         CONF_PATH, "test_data").get_relevance_conf()