def METHOD_NAME(certutil, cert_file):
    """
    Test get_cert_serial with a missing certificate
    """
    with pytest.raises(salt.exceptions.CommandExecutionError) as exc:
        certutil.get_cert_serial(str(cert_file.parent / "absent.cer"))
    assert "cert_file not found" in exc.value.message