Running unit tests with Django==4.2.4 results in 124 errors. They seem to be limited to the same error:
====================================================================== ERROR: test_migration_get_progress (manila_ui.tests.dashboards.admin.shares.test_forms.ManilaDashboardsAdminMigrationFormTests) ---------------------------------------------------------------------- Traceback (most recent call last): File "/home/corey/pkg/bobcat/upstream/manila-ui/manila_ui/tests/dashboards/admin/shares/test_forms.py", line 29, in setUp self.request = wsgi.WSGIRequest(FAKE_ENVIRON) File "/home/corey/pkg/bobcat/upstream/manila-ui/.tox/py3/lib/python3.10/site-packages/django/core/handlers/wsgi.py", line 78, in __init__ self._stream = LimitedStream(self.environ["wsgi.input"], content_length) File "/home/corey/pkg/bobcat/upstream/manila-ui/.tox/py3/lib/python3.10/site-packages/django/core/handlers/wsgi.py", line 24, in __init__ self._read = stream.read AttributeError: 'str' object has no attribute 'read'
To reproduce: git clone https://opendev.org/openstack/manila-ui; cd manila-ui tox -e py3 .tox/py3/bin/pip3 install Django==4.2.4 tox -e py3
Running unit tests with Django==4.2.4 results in 124 errors. They seem to be limited to the same error:
======= ======= ======= ======= ======= ======= ======= ======= ======= ======= get_progress (manila_ ui.tests. dashboards. admin.shares. test_forms. ManilaDashboard sAdminMigration FormTests) ------- ------- ------- ------- ------- ------- ------- ------- ------- corey/pkg/ bobcat/ upstream/ manila- ui/manila_ ui/tests/ dashboards/ admin/shares/ test_forms. py", line 29, in setUp t(FAKE_ ENVIRON) corey/pkg/ bobcat/ upstream/ manila- ui/.tox/ py3/lib/ python3. 10/site- packages/ django/ core/handlers/ wsgi.py" , line 78, in __init__ self.environ[ "wsgi.input" ], content_length) corey/pkg/ bobcat/ upstream/ manila- ui/.tox/ py3/lib/ python3. 10/site- packages/ django/ core/handlers/ wsgi.py" , line 24, in __init__
ERROR: test_migration_
-------
Traceback (most recent call last):
File "/home/
self.request = wsgi.WSGIReques
File "/home/
self._stream = LimitedStream(
File "/home/
self._read = stream.read
AttributeError: 'str' object has no attribute 'read'
To reproduce: /opendev. org/openstack/ manila- ui; cd manila-ui
git clone https:/
tox -e py3
.tox/py3/bin/pip3 install Django==4.2.4
tox -e py3