python-openstackclient/openstackclient/tests/unit
whoami-rajat 4710cbeca6 Add test for creating volume from source
This patch adds a test to create a new volume from source.
We also include code changes to pass the right size i.e. either
size passed by the user via --size argument or the source volume
size. This case is already handled at the API layer[1] but it
helps being consistent with passing the right size value as in case
of creating a volume from snapshot or backup.

[1] 7c1a5ce7b1/cinder/api/v3/volumes.py (L381-L382)

Change-Id: Idc71636dad6bb678fe24f19b0836d2e9bd92d7d2
2022-11-23 14:20:06 +05:30
..
api Make container list --all work 2020-05-16 14:40:28 +00:00
common Merge "quota: Deprecate "force" behavior for network quotas" 2022-11-05 09:24:51 +00:00
compute Merge "Moved hypervisor to the SDK" 2022-11-16 11:18:32 +00:00
identity Merge "Add authorization_ttl for identity providers" 2022-09-30 12:31:51 +00:00
image image: Add 'image stage' command 2022-11-09 16:51:54 +00:00
integ Remove os-client-config references 2020-06-08 16:20:28 -05:00
network Merge "network: Add tenant project filter for RBAC list" 2022-09-30 12:10:29 +00:00
object Remove usage of six 2020-10-07 02:15:25 +00:00
volume Add test for creating volume from source 2022-11-23 14:20:06 +05:30
__init__.py move unit tests to new "unit" test module 2016-09-08 15:19:50 -07:00
fakes.py config: Also mask non-prefix config 2022-08-01 19:54:44 +09:00
test_shell.py Remove unnecessary test 2020-11-06 10:16:06 +00:00
utils.py Make use of comparable 'FormattableColumn' subclasses 2020-12-09 15:17:25 +00:00