The openstack_dashboard.dashboards.project.images.images.tests ModuleΒΆ
- class openstack_dashboard.dashboards.project.images.images.tests.CreateImageFormTests(methodName='runTest')[source]
Bases: openstack_dashboard.test.helpers.TestCase
- test_image_upload_disabled(*args, **kwargs)[source]
If HORIZON_IMAGES_ALLOW_UPLOAD is false, the image_file field widget will be a HiddenInput widget instead of a FileInput widget.
- test_no_location_or_file()[source]
The form will not be valid if both copy_from and image_file are not provided.
- class openstack_dashboard.dashboards.project.images.images.tests.ImageViewTests(methodName='runTest')[source]
Bases: openstack_dashboard.test.helpers.TestCase
- test_image_create_get()[source]
- test_image_create_post_copy_from(*args, **kwargs)[source]
- test_image_create_post_upload(*args, **kwargs)[source]
- test_image_detail_custom_props_get(*args, **kwargs)[source]
- test_image_detail_get(*args, **kwargs)[source]
- test_image_detail_get_with_exception(*args, **kwargs)[source]
- test_image_update_get(*args, **kwargs)[source]
- test_protected_image_detail_get(*args, **kwargs)[source]
- class openstack_dashboard.dashboards.project.images.images.tests.OwnerFilterTests(methodName='runTest')[source]
Bases: openstack_dashboard.test.helpers.TestCase
- setUp()[source]
- test_filter(*args, **kwargs)[source]