Fix "volume unset" command pass normally when nothing specified
When nothing specified in "volume unset" command, there
will be an error message says that the "--properties"
option is required, it is unusual behaviour, this patch
fix it and also add unit test for it.
Also, this patch add unit test for "volume show" command
by the way.
Reviewed: https:/ /review. openstack. org/373836 /git.openstack. org/cgit/ openstack/ python- openstackclient /commit/ ?id=bba5c9047f8 1439a18e4e8be43 4f51abab83a24a
Committed: https:/
Submitter: Jenkins
Branch: master
commit bba5c9047f81439 a18e4e8be434f51 abab83a24a
Author: Huanxuan Ao <email address hidden>
Date: Wed Sep 21 15:08:14 2016 +0800
Fix "volume unset" command pass normally when nothing specified
When nothing specified in "volume unset" command, there
will be an error message says that the "--properties"
option is required, it is unusual behaviour, this patch
fix it and also add unit test for it.
Also, this patch add unit test for "volume show" command
by the way.
Change-Id: I5b5d587670acf0 af4262b85212924 55bf9f60fe5
Partial-bug: #1588588