placement/placement/tests/functional/db
Tetsuro Nakamura b8972a3e45 Consider root id is None in the database case
There are cases where ``root_provider_id`` of a resource provider is
set to NULL just after it is upgraded to the Rocky release. In such
cases getting allocation candidates raises a Keyerror.

This patch fixes that bug for cases there is no sharing or nested
providers in play.

Change-Id: I9639d852078c95de506110f24d3f35e7cf5e361e
Closes-Bug:#1799892
2018-11-20 11:52:43 -05:00
..
__init__.py Move the functional test directories 2018-09-04 10:31:24 -05:00
test_allocation_candidates.py Consider root id is None in the database case 2018-11-20 11:52:43 -05:00
test_base.py Use uuidsentinel from oslo.utils 2018-09-05 22:32:56 +00:00
test_consumer.py Use unique consumer_id when doing online data migration 2018-10-16 16:48:15 -04:00
test_project.py Use uuidsentinel from oslo.utils 2018-09-05 22:32:56 +00:00
test_reshape.py Use uuidsentinel from oslo.utils 2018-09-05 22:32:56 +00:00
test_resource_class_cache.py fix wrong spelling of "explicit" 2018-10-30 19:16:32 +08:00
test_resource_provider.py Merge "Use uuidsentinel from oslo.utils" 2018-09-08 19:57:37 +00:00
test_user.py Use uuidsentinel from oslo.utils 2018-09-05 22:32:56 +00:00