Merge "Search by user defined ID for identity providers"
This commit is contained in:
commit
478b776937
@ -214,7 +214,8 @@ class ShowIdentityProvider(command.ShowOne):
|
|||||||
identity_client = self.app.client_manager.identity
|
identity_client = self.app.client_manager.identity
|
||||||
idp = utils.find_resource(
|
idp = utils.find_resource(
|
||||||
identity_client.federation.identity_providers,
|
identity_client.federation.identity_providers,
|
||||||
parsed_args.identity_provider)
|
parsed_args.identity_provider,
|
||||||
|
id=parsed_args.identity_provider)
|
||||||
|
|
||||||
idp._info.pop('links', None)
|
idp._info.pop('links', None)
|
||||||
remote_ids = utils.format_list(idp._info.pop('remote_ids', []))
|
remote_ids = utils.format_list(idp._info.pop('remote_ids', []))
|
||||||
|
@ -616,6 +616,7 @@ class TestIdentityProviderShow(TestIdentityProvider):
|
|||||||
|
|
||||||
self.identity_providers_mock.get.assert_called_with(
|
self.identity_providers_mock.get.assert_called_with(
|
||||||
identity_fakes.idp_id,
|
identity_fakes.idp_id,
|
||||||
|
id='test_idp'
|
||||||
)
|
)
|
||||||
|
|
||||||
collist = ('description', 'enabled', 'id', 'remote_ids')
|
collist = ('description', 'enabled', 'id', 'remote_ids')
|
||||||
|
Loading…
x
Reference in New Issue
Block a user