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 range_response test #44

Open
Archmonger opened this issue Sep 27, 2024 · 0 comments
Open

Fix range_response test #44

Archmonger opened this issue Sep 27, 2024 · 0 comments

Comments

@Archmonger
Copy link
Owner

Archmonger commented Sep 27, 2024

Description

The range response test in test_django_servestatic was disabled due to bugs related to the test suite. It is assumed that the pytest fixture AppServer was conflicting with how Django provides WSGI range responses, resulting in an empty response.

It was manually tested that ServeStatic+Django do properly provide range responses under WSGI, so some effort will need to be made to fix this test.

If too complicated to fix, we can consider rewriting the tests to not use janky simulations and instead use real application instances and a Chromium browser window via playwright (see example).

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant