Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
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.
- Loading branch information