def METHOD_NAME(on_missing, ctx):
    """Check that the ``on_missing`` keyword in `ffldatafind.find_latest`
    works in each case.
    """
    with ctx:
        assert ffldatafind.find_latest(
            "BAD",
            "BAD",
            on_missing=on_missing,
        ) == []