Merge "Search by user defined ID for service providers"
This commit is contained in:
commit
f97fa2e6d2
@ -192,7 +192,8 @@ class ShowServiceProvider(command.ShowOne):
|
||||
service_client = self.app.client_manager.identity
|
||||
service_provider = utils.find_resource(
|
||||
service_client.federation.service_providers,
|
||||
parsed_args.service_provider)
|
||||
parsed_args.service_provider,
|
||||
id=parsed_args.service_provider)
|
||||
|
||||
service_provider._info.pop('links', None)
|
||||
return zip(*sorted(six.iteritems(service_provider._info)))
|
||||
|
@ -408,6 +408,7 @@ class TestServiceProviderShow(TestServiceProvider):
|
||||
|
||||
self.service_providers_mock.get.assert_called_with(
|
||||
service_fakes.sp_id,
|
||||
id='BETA'
|
||||
)
|
||||
|
||||
collist = ('auth_url', 'description', 'enabled', 'id', 'sp_url')
|
||||
|
Loading…
x
Reference in New Issue
Block a user