

def test_delete_service_provider(self):
    arglist = [service_fakes.sp_id]
    verifylist = [('service_provider', service_fakes.sp_id)]
    parsed_args = self.check_parser(self.cmd, arglist, verifylist)
    result = self.cmd.take_action(parsed_args)
    self.service_providers_mock.delete.assert_called_with(service_fakes.sp_id)
    self.assertIsNone(result)

dataset/ETHPy150Open dtroyer/python-openstackclient/openstackclient/tests/identity/v3/test_service_provider.py TestServiceProviderDelete.test_delete_service_provider/original