manila/manila/tests/db/sqlalchemy
Goutham Pacha Ravi 1f91b438d7 Prevent share type deletion if linked to group types
Share types can be associated with share group
types. This relationship needs to be dropped in
case share types are to be deleted, or we'll be
leaving behind dead references in the database.
Share groups cannot exist without share group
types, and hence we don't need to check on existing
groups when deleting share types; checking for
existing group types will suffice.

Change-Id: Id86a93f1923a493cefe73e2d90d5094005b42ae4
Closes-Bug: #1699836
Signed-off-by: Goutham Pacha Ravi <gouthampravi@gmail.com>
(cherry picked from commit 470bab7c71)
(cherry picked from commit 18430ceafe)
(cherry picked from commit 30473c3481)
(cherry picked from commit f08c8be437)
2020-04-29 18:48:34 +00:00
..
__init__.py Pool-aware Scheduler Support 2015-02-04 23:27:06 +00:00
test_api.py Prevent share type deletion if linked to group types 2020-04-29 18:48:34 +00:00
test_models.py Removed unnecessary setUp() calls in tests 2017-08-02 12:47:34 +00:00