]> review.fuel-infra Code Review - openstack-build/cinder-build.git/commit
Fix invalid uuid warnings in scheduler unit tests
authorTom Barron <tpb@dyncloud.net>
Mon, 29 Feb 2016 12:48:04 +0000 (07:48 -0500)
committerTom Barron <tpb@dyncloud.net>
Mon, 29 Feb 2016 16:12:24 +0000 (11:12 -0500)
commit9c073fa26bb229bb5c8a7fc0b22b80f7a4c37042
tree771cdb7fbb1fe920a9988710c44a8e9bdf43429a
parent5be8ba1586440d274cf34111659802ed5adaf9df
Fix invalid uuid warnings in scheduler unit tests

Currently 'tox -epy27 -- --regex cinder.tests.unit.scheduler' emits
twenty 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: I38187b159b9e42984fcf61cb4b77a94f00a56818
cinder/tests/unit/fake_consistencygroup.py
cinder/tests/unit/scheduler/test_host_filters.py
cinder/tests/unit/scheduler/test_scheduler.py