def METHOD_NAME(
    module_subscribe_satellite,
    module_enroll_idm_and_configure_external_auth,
    configure_realm,
    module_fake_proxy,
    module_target_sat,
):
    """Realm deletion by realm name
    :id: ef3967e6-d53d-4dec-b74f-c20448d5fc6d
    :expectedresults: Realm is deleted
    """
    realm = module_target_sat.cli_factory.make_realm(
        {'realm-proxy-id': module_fake_proxy.id, 'realm-type': 'Active Directory'}
    )
    module_target_sat.cli.Realm.delete({'name': realm['name']})
    with pytest.raises(CLIReturnCodeError):
        module_target_sat.cli.Realm.info({'id': realm['id']})