Open dosisod opened 1 year ago
I was poking around my .venv folder and noticed that this library includes a lot of test data in the published package, which is weird because these files aren't in the test folder:
.venv
test
$ cd .venv/lib/python3.10/site-packages/multipart $ find tests/ -not -ipath "*__pycache__*" tests/ tests/test_multipart.py tests/__init__.py tests/compat.py tests/test_data tests/test_data/http tests/test_data/http/bad_end_of_headers.yaml tests/test_data/http/single_file.http tests/test_data/http/almost_match_boundary_without_CR.yaml tests/test_data/http/single_field_single_file.http tests/test_data/http/almost_match_boundary.yaml tests/test_data/http/single_field_longer.yaml tests/test_data/http/single_field.http tests/test_data/http/empty_header.yaml tests/test_data/http/utf8_filename.http tests/test_data/http/single_field_longer.http tests/test_data/http/almost_match_boundary_without_CR.http tests/test_data/http/bad_initial_boundary.http tests/test_data/http/base64_encoding.http tests/test_data/http/utf8_filename.yaml tests/test_data/http/empty_header.http tests/test_data/http/almost_match_boundary_without_LF.yaml tests/test_data/http/almost_match_boundary_without_LF.http tests/test_data/http/multiple_files.http tests/test_data/http/single_field_blocks.http tests/test_data/http/bad_header_char.yaml tests/test_data/http/multiple_files.yaml tests/test_data/http/CR_in_header.yaml tests/test_data/http/single_field_with_leading_newlines.yaml tests/test_data/http/almost_match_boundary_without_final_hyphen.yaml tests/test_data/http/multiple_fields.yaml tests/test_data/http/single_field_single_file.yaml tests/test_data/http/CR_in_header_value.http tests/test_data/http/single_file.yaml tests/test_data/http/bad_header_char.http tests/test_data/http/bad_end_of_headers.http tests/test_data/http/multiple_fields.http tests/test_data/http/quoted_printable_encoding.yaml tests/test_data/http/single_field_with_leading_newlines.http tests/test_data/http/quoted_printable_encoding.http tests/test_data/http/almost_match_boundary.http tests/test_data/http/bad_initial_boundary.yaml tests/test_data/http/single_field_blocks.yaml tests/test_data/http/single_field.yaml tests/test_data/http/base64_encoding.yaml tests/test_data/http/almost_match_boundary_without_final_hyphen.http tests/test_data/http/CR_in_header_value.yaml tests/test_data/http/CR_in_header.http
How are these files getting into the releases? Do these files need to be there? Thanks.
I was poking around my
.venv
folder and noticed that this library includes a lot of test data in the published package, which is weird because these files aren't in thetest
folder:How are these files getting into the releases? Do these files need to be there? Thanks.