keystone/keystone
Lance Bragstad 12966b8851 Refactor TestAuthExternalDomain to not inherit tests
Previously, TestAuthExternalDomain was inheriting from test_v3.RestfulTestCase,
which allowed it to run as part of the keystone test suite. This commit breaks
it into a class that only inherits from `object` and introduces 3 other classes
the inherit the old TestAuthExternalDomain and run the tests according to the
setup needed.

Since the Fernet provider doesn't support bind authentication, there is no test
class to setup Fernet and run the TestAuthExternalDomain behaviors. This change
will make defaulting to Fernet easier.

This fix was originally a part of https://review.openstack.org/#/c/258650 but
this is an attempt to break 258650 into smaller, more reviewable, pieces.

Co-Authored-By: Raildo Mascena <raildo@lsd.ufcg.edu.br>
Co-Authored-By: Adam Young <ayound@redhat.com>

Change-Id: I28e575ddada8492bd4fc17b78cb00651d9d4af07
Partial-Bug: 1561054
2016-07-21 18:21:28 +00:00
..
assignment Merge "Use request object in policy enforcement" 2016-07-12 03:40:27 +00:00
auth Remove unused context from AuthInfo 2016-07-15 10:07:36 +10:00
catalog Move logic for catalog driver differences to manager 2016-07-11 11:45:07 +01:00
cmd Merge "Improve user experience involving token flush" 2016-07-14 23:35:50 +00:00
common Merge "Remove get_trust_id_for_request function" 2016-07-15 11:48:01 +00:00
conf Merge "Improve keystone.conf [tokenless_auth] documentation" 2016-07-14 05:46:01 +00:00
contrib Remove get_trust_id_for_request function 2016-07-14 19:01:42 +10:00
credential Remove get_trust_id_for_request function 2016-07-14 19:01:42 +10:00
endpoint_policy Replace keystone.common.config with keystone.conf package 2016-06-24 17:02:15 +00:00
federation Validate SAML keyfile & certfile options 2016-07-13 19:28:42 +00:00
identity Pass request to normalize_domain_id 2016-07-14 18:55:03 +10:00
locale Imported Translations from Zanata 2016-06-02 07:16:54 +00:00
middleware Handle more auth information via context 2016-07-13 17:14:46 +10:00
models Fix the wrong check condition 2016-07-18 15:17:24 +08:00
oauth1 Handle more auth information via context 2016-07-13 17:14:46 +10:00
policy Move request validation inline 2016-07-08 20:22:33 +00:00
resource Pass request to normalize_domain_id 2016-07-14 18:55:03 +10:00
revoke Use request.params instead of context['query_string'] 2016-06-29 04:46:57 +10:00
server Isolate token caching into its own region 2016-07-08 14:21:51 +00:00
tests Refactor TestAuthExternalDomain to not inherit tests 2016-07-21 18:21:28 +00:00
token Isolate token caching into its own region 2016-07-08 14:21:51 +00:00
trust Handle more auth information via context 2016-07-13 17:14:46 +10:00
v2_crud Use the context's is_admin property 2016-07-08 10:26:27 +10:00
version Use http_client constants instead of hardcoding 2016-07-07 16:22:44 -07:00
__init__.py Revert "Disable eventlet monkey-patching of DNS" 2013-05-10 10:24:48 -04:00
exception.py PCI-DSS Disable inactive users requirements 2016-06-28 19:45:06 +00:00
i18n.py Change oslo.i18n to oslo_i18n 2015-02-09 18:10:07 -06:00
notifications.py Replace keystone.common.config with keystone.conf package 2016-06-24 17:02:15 +00:00
service.py Create a version package 2015-10-12 23:59:16 +00:00