Bases: object
Tests for the resource driver.
Subclasses must set self.driver to the driver instance.
Bases: object
Try delete a large project with cascade true.
Tree we will create:
+-p1-+
| |
p5 p2
| |
p6 +-p3-+
| |
p7 p4
Tests the resource backend call delete_projects_from_ids.
Tests the normal flow of the delete_projects_from_ids backend call, that ensures no project on the list exists after it is succesfully called.
Tests delete_projects_from_ids issues warning if not found.
Tests the resource backend call delete_projects_from_ids passing a non existing ID in project_ids, which is logged and ignored by the backend.
Tests get_project_by_name works when the domain_id is None.
Tests project uniqueness for those acting as domains.
If it is a project acting as a domain, we can’t have two or more with the same name.
Bases: object
Bases: keystone.tests.unit.core.SQLDriverOverrides, keystone.tests.unit.core.TestCase