def METHOD_NAME(reporter):
    """The STATUS file is a file to which we append data about jobs as they
    are run. So this involves multiple reports, and should be tested as
    such.
    See https://github.com/equinor/libres/issues/764
    """
    j_1 = Job({"name": "j_1", "executable": "", "argList": []}, 0)
    j_2 = Job({"name": "j_2", "executable": "", "argList": []}, 0)
    init = Init([j_1, j_2], 1, 1)
    start_j_1 = Start(j_1)
    exited_j_1 = Exited(j_1, 0)
    start_j_2 = Start(j_2)
    exited_j_2 = Exited(j_2, 9).with_error("failed horribly")
    for msg in [init, start_j_1, exited_j_1, start_j_2, exited_j_2]:
        reporter.report(msg)
    expected_j1_line = (
        f"{j_1.name():32}: {start_j_1.timestamp:%H:%M:%S} .... "
        f"{exited_j_1.timestamp:%H:%M:%S}  \n"
    )
    expected_j2_line = (
        f"{j_2.name():32}: "
        f"{start_j_2.timestamp:%H:%M:%S} .... "
        f"{exited_j_2.timestamp:%H:%M:%S}   "
        f"EXIT: {exited_j_2.exit_code}/{exited_j_2.error_message}\n"
    )
    with open(STATUS_file, "r", encoding="utf-8") as f:
        for expected in [
            "Current host",
            expected_j1_line,
            expected_j2_line,
        ]:  # noqa
            assert expected in f.readline()
        # EOF
        assert f.readline() == ""