cinder/cinder/tests/unit/objects
Stephen Finucane 1990ce4201 db: Add missing foreign keys, indexes to models
There were a number of discrepancies between the models and migrations
(both sqlalchemy-migrate and alembic-based - they're identical). These
need to be addressed. In this patch, we correct a number of
discrepancies related to ForeignKey and Index constraints. Most of these
take the form of adding the constraint to the model, but we also remove
a number of indexes defined on the models but not actually present in
the database (since they're not defined in migration).

Change-Id: I0b53e2ccc0b03e24b8b6f67e67ea065ab5b85d07
Signed-off-by: Stephen Finucane <stephenfin@redhat.com>
2022-02-20 19:05:46 +00:00
..
__init__.py Move unit test code under tests/unit/ 2020-04-30 18:13:54 -04:00
test_backup.py Remove six from cinder.tests.unit.objects 2021-03-12 09:57:32 +08:00
test_base.py Clear OVO history and compatibility 2021-08-25 17:50:48 +02:00
test_cgsnapshot.py Remove six from cinder.tests.unit.objects 2021-03-12 09:57:32 +08:00
test_cleanable.py Clear OVO history and compatibility 2021-08-25 17:50:48 +02:00
test_cleanup_request.py Introduce flake8-import-order extension 2020-01-06 09:59:35 -06:00
test_cluster.py Clear OVO history and compatibility 2021-08-25 17:50:48 +02:00
test_consistencygroup.py Remove six from cinder.tests.unit.objects 2021-03-12 09:57:32 +08:00
test_fields.py Move unit test code under tests/unit/ 2020-04-30 18:13:54 -04:00
test_group.py Clear OVO history and compatibility 2021-08-25 17:50:48 +02:00
test_group_snapshot.py Remove six from cinder.tests.unit.objects 2021-03-12 09:57:32 +08:00
test_group_type.py Remove six from cinder.tests.unit.objects 2021-03-12 09:57:32 +08:00
test_manageable_volumes_snapshots.py Switch ManageableSnaphots & ManageableVolumes list to OVO 2017-01-25 00:41:30 +00:00
test_objects.py db: Add missing foreign keys, indexes to models 2022-02-20 19:05:46 +00:00
test_qos.py Introduce flake8-import-order extension 2020-01-06 09:59:35 -06:00
test_service.py Remove six from cinder.tests.unit.objects 2021-03-12 09:57:32 +08:00
test_snapshot.py Improve quota usage for temporary resources 2021-08-26 18:47:27 +02:00
test_volume.py Merge "Fix: nfs format info limitation" 2021-12-22 18:35:58 +00:00
test_volume_attachment.py Clear OVO history and compatibility 2021-08-25 17:50:48 +02:00
test_volume_type.py Clear OVO history and compatibility 2021-08-25 17:50:48 +02:00