python-glanceclient/glanceclient/tests/unit
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
..
v1 py3: Fix encoding and use sys.stdin.buffer 2016-07-25 20:13:08 +05:30
v2 Make image-create-via-import fail faster 2018-04-04 13:51:40 -04:00
var Fixed TestHTTPSVerifyCert failure messages 2016-01-15 12:21:36 +02:00
__init__.py Move unit tests to standard directory 2015-04-18 17:42:20 +00:00
test_base.py Move old oslo-incubator code out of openstack/common 2016-11-08 11:33:09 +05:30
test_client.py Add parsing the endpoint URL 2015-09-08 20:52:45 +09:00
test_exc.py py3: Fix encoding and use sys.stdin.buffer 2016-07-25 20:13:08 +05:30
test_http.py Merge "Replace six.iteritems() with .items()" 2017-06-28 14:49:38 +00:00
test_progressbar.py Downloading image with --progress fails 2017-05-29 17:56:11 +05:30
test_shell.py Remove usage of ordereddict 2018-03-08 10:30:31 +01:00
test_ssl.py allow unhandled exceptions to cause test errors 2017-06-26 10:59:29 -04:00
test_utils.py Replace assertTrue(isinstance()) with assertIsInstance() 2017-06-14 11:03:10 +07:00