]> review.fuel-infra Code Review - openstack-build/cinder-build.git/commit
Fix invalid UUID warnings for test_volume_*
authorTom Barron <tpb@dyncloud.net>
Wed, 9 Mar 2016 11:12:01 +0000 (06:12 -0500)
committerTom Barron <tpb@dyncloud.net>
Wed, 9 Mar 2016 14:41:50 +0000 (09:41 -0500)
commitcbb7221e17057169cd46455c9582b5e5ebebe62a
tree8eadc89a33e83a43c747ddf0b874c7656ef1ac6a
parent08b74ce3280f66613e9cae8bce3d00c20d38aff2
Fix invalid UUID warnings for test_volume_*

Currently running 'tox -epy27 -- --regex test_volume' emits over 50
FutureWarnings from oslo_versioned_objects about invalid UUIDs [1].

This commit modifies relevant unit tests so that these warnings are
no longer emitted.

[1] http://docs.openstack.org/developer/oslo.versionedobjects/api/fields.html#oslo_versionedobjects.fields.UUIDField

Change-Id: Id165450ff4c1c7c6aac13a8916e2e72cfade199e
cinder/tests/unit/fake_constants.py
cinder/tests/unit/test_pure.py
cinder/tests/unit/test_volume.py
cinder/tests/unit/test_volume_glance_metadata.py
cinder/tests/unit/test_volume_rpcapi.py
cinder/tests/unit/test_volume_transfer.py
cinder/tests/unit/test_volume_utils.py