python-openstackclient/openstackclient/tests/unit/volume
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
..
v1 tests: Remove unnecessary nesting of volume resources 2022-09-30 11:42:07 +00:00
v2 Add test for creating volume from source 2022-11-23 14:20:06 +05:30
v3 tests: Remove unnecessary nesting of volume resources 2022-09-30 11:42:07 +00:00
__init__.py move unit tests to new "unit" test module 2016-09-08 15:19:50 -07:00
test_find_resource.py Raise flake8-import-order version to latest 2020-01-10 14:21:47 -06:00