keystone/keystone/tests/unit
Rodrigo Duarte bfcbb3cd76 Add conflict validation for idp update
Remote IDs conflicts can happen during an identity provider
update (similar to what happens during create).

This patch adds the same conflict handling, so a 500 is not
returned by keystone.

Change-Id: I1f093dad0b9427027edf4dc1a9f563e99aedad0c
Closes-Bug: 1558670
2016-05-04 20:06:20 -03:00
..
assignment Fix D400 PEP257 2016-04-21 15:25:34 +00:00
auth Use mockpatch fixtures from fixtures 2016-04-12 21:15:12 -05:00
backend Fix D400 PEP257 2016-04-21 15:25:34 +00:00
catalog Split catalog backend tests 2016-03-04 15:32:18 -03:00
common Fix D401 PEP8 violation. 2016-04-14 20:08:52 +00:00
config_files Switch migration tests to oslo.db DbTestCase 2016-03-23 11:14:11 -05:00
contrib Fix D400 PEP257 2016-04-21 15:25:34 +00:00
external Adds interface tests for timeutils 2015-09-23 12:43:37 +00:00
identity Define identity interface - easy cases 2016-04-19 08:42:36 -05:00
ksfixtures Remove eventlet support 2016-04-18 18:07:28 +00:00
policy Split policy backend tests 2016-03-04 15:32:42 -03:00
resource Fix D400 PEP257 2016-04-21 15:25:34 +00:00
saml2 Add openstack_user_domain to assertion 2015-05-04 14:33:48 -03:00
schema Rename v2 token schema used for validation 2016-03-10 21:41:22 +00:00
tests Change LOG.warn to LOG.warning 2016-01-06 19:30:37 +00:00
token Fix D401 PEP8 violation. 2016-04-14 20:08:52 +00:00
trust Split trust backend tests 2016-03-04 15:31:48 -03:00
__init__.py Stop using nose as a Python3 test runner 2016-02-11 06:40:24 +00:00
core.py Remove eventlet support 2016-04-18 18:07:28 +00:00
default_catalog.templates Move existing tests to unit 2015-02-13 15:54:29 -06:00
default_fixtures.py Projects acting as domains 2016-03-01 00:42:44 +00:00
fakeldap.py Fix D400 PEP257 2016-04-21 15:25:34 +00:00
federation_fixtures.py Move existing tests to unit 2015-02-13 15:54:29 -06:00
filtering.py Fix D400 PEP257 2016-04-21 15:25:34 +00:00
identity_mapping.py Use the new enginefacade from oslo.db 2016-02-24 08:20:12 -08:00
mapping_fixtures.py handle unicode names for federated users 2016-02-16 23:23:14 -05:00
rest.py Fix D401 PEP8 violation. 2016-04-14 20:08:52 +00:00
test_associate_project_endpoint_extension.py Fix D400 PEP257 2016-04-21 15:25:34 +00:00
test_auth.py Typo fix in tests 2016-04-18 10:52:46 +08:00
test_auth_plugin.py Fix order of arguments in assertEqual 2015-09-25 02:06:55 -07:00
test_backend_endpoint_policy.py Use new_policy_ref consistently 2015-12-09 10:18:36 -08:00
test_backend_endpoint_policy_sql.py Fixes the SQL model tests 2015-03-08 05:34:48 +00:00
test_backend_federation_sql.py Add relay_state_prefix to Service Provider 2015-03-28 06:29:00 +00:00
test_backend_id_mapping_sql.py Use unit.new_domain_ref consistently 2015-11-12 10:14:50 +00:00
test_backend_kvs.py Split token backend tests 2016-03-04 15:31:21 -03:00
test_backend_ldap.py Fix D401 PEP8 violation. 2016-04-14 20:08:52 +00:00
test_backend_ldap_pool.py Use mockpatch fixtures from fixtures 2016-04-12 21:15:12 -05:00
test_backend_rules.py Split policy backend tests 2016-03-04 15:32:42 -03:00
test_backend_sql.py Fix D400 PEP257 2016-04-21 15:25:34 +00:00
test_backend_templated.py Split catalog backend tests 2016-03-04 15:32:18 -03:00
test_catalog.py Remove unfixable FIXME 2015-12-09 15:21:09 -03:00
test_cert_setup.py Remove eventlet support 2016-04-18 18:07:28 +00:00
test_cli.py Add logging to cli if keystone.conf is not found 2016-04-17 14:46:41 -07:00
test_config.py Merge keystone.config into keystone.common.config 2015-11-19 08:24:51 -06:00
test_contrib_s3_core.py Fix string conversion in s3 handler for python 2 2015-11-18 13:25:27 +03:00
test_contrib_simple_cert.py Fixes to get cert tests running in Py3 2016-03-02 02:11:02 +00:00
test_credential.py Consolidate `test_contrib_ec2.py` into `test_credential.py` 2016-02-05 10:22:41 +08:00
test_driver_hints.py Use assertTrue/False instead of assertEqual(T/F) 2015-11-02 09:10:38 +00:00
test_entry_points.py Added CORS support to Keystone 2016-02-10 06:00:00 -08:00
test_exception.py Fix D401 PEP8 violation. 2016-04-14 20:08:52 +00:00
test_hacking_checks.py Fix D401 PEP8 violation. 2016-04-14 20:08:52 +00:00
test_kvs.py Fix D400 PEP257 2016-04-21 15:25:34 +00:00
test_ldap_livetest.py Remove more ldap project references 2016-01-21 22:20:16 +00:00
test_ldap_pool_livetest.py Use unit.new_user_ref consistently 2015-11-17 19:20:33 +00:00
test_ldap_tls_livetest.py Use unit.new_user_ref consistently 2015-11-17 19:20:33 +00:00
test_middleware.py Fix D401 PEP8 violation. 2016-04-14 20:08:52 +00:00
test_no_admin_token_auth.py Merge "Refactor: Don't hard code the error code" 2015-09-14 01:58:49 +00:00
test_policy.py Moves policy setup into a fixture. 2016-02-10 21:00:29 +00:00
test_revoke.py Use requst local in-process cache per request 2016-02-24 13:34:46 -08:00
test_sql_migrate_extensions.py Fix D400 PEP257 2016-04-21 15:25:34 +00:00
test_sql_upgrade.py Fix D400 PEP257 2016-04-21 15:25:34 +00:00
test_token_bind.py Change tests to use common name for keystone.tests.unit 2015-09-04 18:21:42 +00:00
test_token_provider.py Remove eventlet support 2016-04-18 18:07:28 +00:00
test_url_middleware.py Fix D401 PEP8 violation. 2016-04-14 20:08:52 +00:00
test_v2.py Fix D400 PEP257 2016-04-21 15:25:34 +00:00
test_v2_controller.py Fix D401 PEP8 violation. 2016-04-14 20:08:52 +00:00
test_v3.py Fix D400 PEP257 2016-04-21 15:25:34 +00:00
test_v3_assignment.py Fix D400 PEP257 2016-04-21 15:25:34 +00:00
test_v3_auth.py Add test for authentication when project and domain name clash 2016-04-27 23:16:11 +01:00
test_v3_catalog.py Fix D401 PEP8 violation. 2016-04-14 20:08:52 +00:00
test_v3_credential.py Removing H405 violations from keystone 2016-02-21 03:47:55 -05:00
test_v3_domain_config.py Fix D400 PEP257 2016-04-21 15:25:34 +00:00
test_v3_endpoint_policy.py Use new_policy_ref consistently 2015-12-09 10:18:36 -08:00
test_v3_federation.py Add conflict validation for idp update 2016-05-04 20:06:20 -03:00
test_v3_filters.py Fix D400 PEP257 2016-04-21 15:25:34 +00:00
test_v3_identity.py Fix D401 PEP8 violation. 2016-04-14 20:08:52 +00:00
test_v3_oauth1.py Fix D400 PEP257 2016-04-21 15:25:34 +00:00
test_v3_os_revoke.py Use requst local in-process cache per request 2016-02-24 13:34:46 -08:00
test_v3_policy.py Implement HEAD method for all v3 GET actions 2016-03-22 10:27:53 -07:00
test_v3_protection.py Fix D400 PEP257 2016-04-21 15:25:34 +00:00
test_v3_resource.py Fix D400 PEP257 2016-04-21 15:25:34 +00:00
test_v3_trust.py Removing redundant words 2016-03-25 10:09:11 +07:00
test_validation.py Fix D400 PEP257 2016-04-21 15:25:34 +00:00
test_versions.py Remove eventlet support 2016-04-18 18:07:28 +00:00
test_wsgi.py Customize config file location when run as wsgi app. 2016-04-20 15:21:08 +00:00
utils.py Trival: Remove unused logging import 2015-12-26 15:14:25 +08:00