murano-dashboard/muranodashboard/tests/unit/dynamic_ui
Andy Botting a8848d9a2f Make sensible default choices for fields
This commit makes some sensible default choices for fields
when adding and application to an environment. These are applied
to the image and keypairs fields.

In both cases, if only one option is available, then make that
the initial value selected.

In the images case, we take it a step further and if there is
only one image, make that the only choice, dropping the
'Select Image' option completely.

Change-Id: I24462374a50c1b8d83970f10278362f3dc5daf8b
2019-08-15 14:55:32 +10:00
..
__init__.py Enable hidden field attribute to be set to false 2015-02-11 13:39:14 +03:00
test_fields.py Make sensible default choices for fields 2019-08-15 14:55:32 +10:00
test_forms.py Switch test runner to django default runner 2018-10-09 02:22:08 +00:00
test_helpers.py Switch test runner to django default runner 2018-10-09 02:22:08 +00:00
test_services.py Clean up usage of APIMockTestCase 2019-01-31 23:43:42 +09:00
test_versions.py Switch test runner to django default runner 2018-10-09 02:22:08 +00:00
test_yaql_expression.py Switch test runner to django default runner 2018-10-09 02:22:08 +00:00
test_yaql_functions.py Switch test runner to django default runner 2018-10-09 02:22:08 +00:00