-
Notifications
You must be signed in to change notification settings - Fork 177
test: ability to accept gzip compressed files #382
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
test: ability to accept gzip compressed files #382
Conversation
…ungzipped content_type is not set.
…d multiple files.
…rough content-type (which is not set correctly by curl), but also by filename.
|
I know I need to update the requirements/ test.txt and base.txt with correct packages, but had some pip-compile issues not seeing venv and couldn't finish it today, but it's detail and don't want to wait with review request. EDIT: the failing test is failing for me also on main, so it's rather not caused by my changes. EDIT2: pip-compile is fixed, that test passes, but a new one fails (maybe it's caused by some library update, works on localhost):
EDIT3: oh noes, it passess on main https://github.com/Unstructured-IO/unstructured-api/actions/runs/8144148394/job/22257691407 , but it also fails when I include pip-compile requirements changes. So it makes sense some dependency changed. Now need to bisect to find the One... |
Problem was caused by duplication of text inside 2 examples (fake-email.eml and fake-email-image-embedded.eml) which caused the 2 elements to have the same hash, almost same metadata, but sometimes a different position in list.
The PR adds tests:
To test only new unit tests: