python-openstackclient/openstackclient/tests/unit/volume/v1
Huanxuan Ao 1c49a1f01d Fix NoneType error for volume snapshot create command
In volume snapshot command, <volume> is the same
as <snapshot-name> when --volume is not specified,
but <volume> cannot be None, so when <snapshot-name>
is not specified (<snapshot-name> is None), a NoneType
error appears.
So make <snapshot-name> no longer optional, it should
be always present.

Change-Id: I3d9f10753a8ef601e70816421c160598e2cc811f
Closes-bug: #1659894
2017-04-26 11:07:08 -05:00
..
__init__.py move unit tests to new "unit" test module 2016-09-08 15:19:50 -07:00
fakes.py Add "encryption-*" options in volume type commands 2017-01-14 21:58:33 +08:00
test_backup.py Add 'all-projects' option to 'volume backup list' 2016-11-08 17:35:51 +01:00
test_qos_specs.py Fix properties format for volume qos in volume v1 2017-02-21 19:34:15 +08:00
test_service.py move unit tests to new "unit" test module 2016-09-08 15:19:50 -07:00
test_snapshot.py Fix NoneType error for volume snapshot create command 2017-04-26 11:07:08 -05:00
test_transfer_request.py Fix volume transfers request commands 2017-03-27 12:31:42 -05:00
test_type.py Add "encryption-*" options in volume type commands 2017-01-14 21:58:33 +08:00
test_volume.py Support --no-property in "volume set" command 2017-02-23 21:49:11 +08:00