]> review.fuel-infra Code Review - openstack-build/cinder-build.git/commit
Fix Cinder Objects unit tests
authorIvan Kolodyazhny <e0ne@e0ne.info>
Sun, 21 Jun 2015 08:33:05 +0000 (11:33 +0300)
committerIvan Kolodyazhny <e0ne@e0ne.info>
Mon, 22 Jun 2015 18:33:34 +0000 (21:33 +0300)
commit4ea25fa280261eb02b4689e419153e3fb8a28e4f
tree4097eaa469b7a64fdb45209b651db8e97555d258
parenta8c34eccf1e27580d9f8ecfb6b349ccd079e2aa7
Fix Cinder Objects unit tests

Due to the import order all tests passed on CI. But you can not
run cinder.unit.objects.test_backup only. This patch fixes it
adding base class and invokes objects.register_all().

Change-Id: If6168bce88489840b5d25b97be1f285737d943df
cinder/tests/unit/objects/__init__.py
cinder/tests/unit/objects/test_backup.py
cinder/tests/unit/objects/test_snapshot.py
cinder/tests/unit/objects/test_volume.py