

def test_delete_identity_provider(self):
    arglist = ['--identity-provider', identity_fakes.idp_id, identity_fakes.protocol_id]
    verifylist = [('federation_protocol', identity_fakes.protocol_id), ('identity_provider', identity_fakes.idp_id)]
    parsed_args = self.check_parser(self.cmd, arglist, verifylist)
    result = self.cmd.take_action(parsed_args)
    self.protocols_mock.delete.assert_called_with(identity_fakes.idp_id, identity_fakes.protocol_id)
    parsed_args.assertIsNone(result)

dataset/ETHPy150Open dtroyer/python-openstackclient/openstackclient/tests/identity/v3/test_protocol.py TestProtocolDelete.test_delete_identity_provider/VarMisuse@87/134 `self`->`parsed_args`