]> review.fuel-infra Code Review - openstack-build/cinder-build.git/commit
Fix invalid uuid warnings in test_volume.py
authorTom Barron <tpb@dyncloud.net>
Wed, 2 Mar 2016 17:29:47 +0000 (12:29 -0500)
committerTom Barron <tpb@dyncloud.net>
Thu, 3 Mar 2016 18:22:03 +0000 (13:22 -0500)
commit30f07cd6f4dde7d67136b69ae2ec590cc1d8326e
tree678c0b9149e61b5ff6484903bf82d160cad59d8e
parent309cc83514fb905ff15bd9779e2fa790a738afb1
Fix invalid uuid warnings in test_volume.py

Currently 'tox -epy27 -- -n cinder.tests.unit.test_volume'
emits 36 FutureWarnings from oslo.versionedobjects about invalid
uuids as documented here [1].

This commit changes this module to use valid uuids so that when its
tests are run these warnings are no longer emitted.

Change-Id: Id4729d0dc6998e9343034d7c17ace1109fe21417
cinder/tests/unit/fake_constants.py
cinder/tests/unit/test_volume.py
cinder/tests/unit/utils.py