keystone/keystone/tests/unit/resource
Lance Bragstad 663865dfec Remove CONF.domain_id_immutable
We deprecated this functionality during the Mitaka release and staged
it for removal in Ocata. Let's remove it!

A note for reviewers. Some of the logic for allowing projects to
update their domain_id was implemented in the resource Manager().
As a result, there were several tests that tested the manager
directly. Now that we're removing the logic for allowing
``domain_id`` to be update, we can rely solely on the
``_require_matching_domain_id()`` method in the
keystone.common.controller module. This short-circuit check will
return a 4XX response code for all requests attempting to update the
``domain_id`` of an entity. Since this is all completely isolated
in the controller layer, we can remove the logic from the resource
Manager specifically as well as the tests. This change looks like
we're removing a bunch of tests from
keystone.tests.unit.resource.test_backends but we're actually just
relying on more basic tests in test_v3_resource.

Change-Id: Iad0eba66e7ddc9497205af60671451a385d0de58
Closes-Bug: 1653472
2017-01-03 22:51:15 +00:00
..
backends Correct create_project driver versioning 2016-03-09 08:24:30 -06:00
config_backends Split out domain config driver and manager tests 2016-03-09 17:32:21 +00:00
__init__.py V2 operations create default domain on demand 2016-02-29 20:22:44 +00:00
test_backends.py Remove CONF.domain_id_immutable 2017-01-03 22:51:15 +00:00
test_controllers.py Replace keystone.common.config with keystone.conf package 2016-06-24 17:02:15 +00:00
test_core.py Make _option_dict() a method for domain_config_api 2016-12-15 04:10:12 +00:00