python-glanceclient/glanceclient/tests/unit/v2
Brian Rosmaita 79543a67ed Make image-create-via-import fail faster
Add checks to the image-create-via-import commmand so that it provides
better user feedback and doesn't begin the import workflow unless the
input has a chance of succeeding.  Preserves backward compatibility
with the current image-create command by (1) allowing an image record
only to be created when no import-method is specified AND no data is
supplied, and (2) doing the glance-direct workflow when no import-
method is specified AND data is provided.  Also adds the ability for
the import-method to be set as an env var OS_IMAGE_IMPORT_METHOD.

Change-Id: I0a225f5471a9311217b5d90ebb5fd415c369129a
Closes-bug: #1758149
2018-04-04 13:51:40 -04:00
..
__init__.py Move unit tests to standard directory 2015-04-18 17:42:20 +00:00
base.py Add support for web-download import method 2018-03-21 15:09:13 +00:00
fixtures.py Merge "Add support for community images" 2017-01-23 22:19:37 +00:00
test_client_requests.py Add vhdx in disk_format 2017-01-10 07:41:02 +00:00
test_images.py Add support for web-download import method 2018-03-21 15:09:13 +00:00
test_members.py Add request id to returned objects 2017-01-20 14:50:42 +05:30
test_metadefs_namespaces.py Add request id to returned objects 2017-01-20 14:50:42 +05:30
test_metadefs_objects.py Replace six.iteritems() with .items() 2017-02-08 16:33:46 +08:00
test_metadefs_properties.py Add request id to returned objects 2017-01-20 14:50:42 +05:30
test_metadefs_resource_types.py Add request id to returned objects 2017-01-20 14:50:42 +05:30
test_metadefs_tags.py Add request id to returned objects 2017-01-20 14:50:42 +05:30
test_schemas.py Fix warlock model creation 2016-07-06 18:18:42 -07:00
test_shell_v2.py Make image-create-via-import fail faster 2018-04-04 13:51:40 -04:00
test_tags.py Add request id to returned objects 2017-01-20 14:50:42 +05:30
test_tasks.py Add request id to returned objects 2017-01-20 14:50:42 +05:30
test_versions.py Add versions list function 2015-11-10 10:28:32 +08:00