def set_azure_client(self): config.load_system_configs() self.credentials_filename = config.get("azure_tests", "credentials_file") self.storage_account = config.get("azure_tests", "storage_account") self.container_name = config.get("azure_tests", "container_name") self.client = AzureBlobStorageClient(**self._get_credentials_dict()) global ATTEMPTED_CONTAINER_CREATE if not ATTEMPTED_CONTAINER_CREATE: self.client.put_string(b"", self.container_name, "create_marker") ATTEMPTED_CONTAINER_CREATE = True yield self.client
def databand_config(): config.load_system_configs() return config