]> review.fuel-infra Code Review - openstack-build/cinder-build.git/commit
Fix invalid uuid warnings in block device unit tests
authorTom Barron <tpb@dyncloud.net>
Mon, 29 Feb 2016 13:27:02 +0000 (08:27 -0500)
committerTom Barron <tpb@dyncloud.net>
Mon, 29 Feb 2016 17:39:50 +0000 (12:39 -0500)
commit55bade36754f77cd16e64955a299b81869d96d30
treec0d36e9a0e4a7391d4118033cef6a69826825cb2
parent5be8ba1586440d274cf34111659802ed5adaf9df
Fix invalid uuid warnings in block device unit tests

Currently 'tox -epy27 -- --regex cinder.tests.unit.test_block_device' emits
a dozen FutureWarnings from oslo.versionedobjects about invalid uuids
as documented here[1].

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

Change-Id: Ia50b12e646d2f967a3275f1e9aa15ef2bc212c46
cinder/tests/unit/fake_constants.py
cinder/tests/unit/test_block_device.py