[Python] Pytest cases for Azure SAS generation

Discussão em 'Python' iniciado por Stack, Maio 30, 2025.

  1. Stack

    Stack Membro Participativo

    I want to test this function in Python, provide few sample test cases (pytest) for this token generation.

    token = generate_blob_sas(
    account_name=account_name,
    container_name=container_name,
    blob_name=blob_name,
    account_key=account_key,
    permission=BlobSasPermissions(permissions),
    start=start_time,
    expiry=start_time + timedelta(minutes=expiry_mins)
    )

    Continue reading...

Compartilhe esta Página