diff options
| author | Zuul <zuul@review.openstack.org> | 2018-10-02 16:28:31 +0000 |
|---|---|---|
| committer | Gerrit Code Review <review@openstack.org> | 2018-10-02 16:28:31 +0000 |
| commit | ef95b503f256b141db1d8a3577b2b216d87a2c5c (patch) | |
| tree | fc0b966f6d78af3a3b5ad44c8783ff9d9063133e | |
| parent | 63b36a901bfaf2508a9c3cda1d8dafb8769f2340 (diff) | |
| parent | 6b2bc4949287984b41df68f87ce7ccacee663926 (diff) | |
| download | python-cinderclient-ef95b503f256b141db1d8a3577b2b216d87a2c5c.tar.gz | |
Merge "Fix functional error check for invalid volume create size"
| -rw-r--r-- | cinderclient/tests/functional/test_volume_create_cli.py | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/cinderclient/tests/functional/test_volume_create_cli.py b/cinderclient/tests/functional/test_volume_create_cli.py index 5368510..87eaff2 100644 --- a/cinderclient/tests/functional/test_volume_create_cli.py +++ b/cinderclient/tests/functional/test_volume_create_cli.py @@ -26,8 +26,8 @@ class CinderVolumeNegativeTests(base.ClientTestBase): @ddt.data( ('', (r'Size is a required parameter')), - ('-1', (r'Invalid volume size provided for create request')), - ('0', (r"Volume size '0' must be an integer and greater than 0")), + ('-1', (r'Invalid input for field/attribute size')), + ('0', (r"Invalid input for field/attribute size")), ('size', (r'invalid int value')), ('0.2', (r'invalid int value')), ('2 GB', (r'unrecognized arguments')), |
