1
0
mirror of https://github.com/django/django.git synced 2025-10-24 06:06:09 +00:00

Fixed #34428 -- Made ASGIStaticFilesHandler adapt response to async iterator.

Bug in 0bd2c0c901.
This commit is contained in:
Carlton Gibson
2023-03-21 20:51:53 +01:00
committed by GitHub
parent a2eaea8f22
commit 02c356f2f3
2 changed files with 9 additions and 1 deletions

View File

@@ -116,7 +116,6 @@ class ASGITest(SimpleTestCase):
"django.contrib.staticfiles.finders.FileSystemFinder",
],
)
@ignore_warnings(module="django.http.response")
async def test_static_file_response(self):
application = ASGIStaticFilesHandler(get_asgi_application())
# Construct HTTP request.