Merge "Remove unused variables from unit test method"

This commit is contained in:
Jenkins 2016-12-25 04:54:18 +00:00 committed by Gerrit Code Review
commit 8180310211
1 changed files with 4 additions and 8 deletions

View File

@ -828,14 +828,10 @@ class FederatedIdentityProviderTests(test_v3.RestfulTestCase):
expected_status=http_client.CREATED)
return resp
def _http_idp_input(self, **kwargs):
"""Create default input for IdP data."""
body = None
if 'body' not in kwargs:
body = self.default_body.copy()
body['description'] = uuid.uuid4().hex
else:
body = kwargs['body']
def _http_idp_input(self):
"""Create default input dictionary for IdP data."""
body = self.default_body.copy()
body['description'] = uuid.uuid4().hex
return body
def _assign_protocol_to_idp(self, idp_id=None, proto=None, url=None,