Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Fix(pydataverse tests): Adapt to behavior change in upload file #322

Closed
wants to merge 1 commit into from

Commits on Jul 23, 2024

  1. Fix(pydataverse tests): Adapt to behavior change in upload file

    The Backstory is in #320 (comment).
    A change outside of datalad-dataverse resulted in a 400 bad request whenever
    pydataverse's upload_file() function was called without passing anything
    as json_str, and its default value None was used.
    In the pydataverse tests we perform a simplistic upload, where this parameter .
    hasn't yet benn used. This change adds empty json to make the API call succeed.
    adswa committed Jul 23, 2024
    Configuration menu
    Copy the full SHA
    d42a498 View commit details
    Browse the repository at this point in the history