2023-10-04 20:51:42 |
Corey Bryant |
description |
This can be seen with sahara-dashboard tests reported at https://storyboard.openstack.org/#!/story/2010191
For example:
======================================================================
ERROR: test_copy (sahara_dashboard.content.data_processing.clusters.nodegroup_templates.tests.DataProcessingNodeGroupTests)
----------------------------------------------------------------------
Traceback (most recent call last):
File "/home/corey/pkg/zed/upstream/sahara-dashboard/.tox/py310/lib/python3.10/site-packages/openstack_dashboard/test/helpers.py", line 134, in wrapped
retval = function(inst, *args, **kwargs)
...
File "/home/corey/pkg/zed/upstream/sahara-dashboard/.tox/py310/lib/python3.10/site-packages/django/forms/widgets.py", line 668, in create_option
self.build_attrs(self.attrs, attrs) if self.option_inherits_attrs else {}
TypeError: CheckboxSelectMultiple.build_attrs() takes from 1 to 2 positional arguments but 3 were given |
This is an error when run with Django 4 and can be seen in more detail with sahara-dashboard tests reported at https://storyboard.openstack.org/#!/story/2010191
For example:
======================================================================
ERROR: test_copy (sahara_dashboard.content.data_processing.clusters.nodegroup_templates.tests.DataProcessingNodeGroupTests)
----------------------------------------------------------------------
Traceback (most recent call last):
File "/home/corey/pkg/zed/upstream/sahara-dashboard/.tox/py310/lib/python3.10/site-packages/openstack_dashboard/test/helpers.py", line 134, in wrapped
retval = function(inst, *args, **kwargs)
...
File "/home/corey/pkg/zed/upstream/sahara-dashboard/.tox/py310/lib/python3.10/site-packages/django/forms/widgets.py", line 668, in create_option
self.build_attrs(self.attrs, attrs) if self.option_inherits_attrs else {}
TypeError: CheckboxSelectMultiple.build_attrs() takes from 1 to 2 positional arguments but 3 were given |
|