tus / tus-py-client

A Python client for the tus resumable upload protocol
https://tus.io/
MIT License
169 stars 45 forks source link

Add explicit test fixtures to fix tests on Windows #91

Closed Acconut closed 11 months ago

Acconut commented 11 months ago

This PR cherry picks a commit from @nhairs' work in https://github.com/tus/tus-py-client/pull/89. Tests were failing on Windows because Git automatically converted the line endings, which caused different text files to be present on Linux and Windows CI runs. This is fixed by telling Git to treat the sample fixtures for test as binary files.

Fixes #49.

Thanks @nhairs!