def METHOD_NAME(make_tmp_jid_dirs, tmp_jid_dir):
    """
    Tests that an empty JID dir is removed when it is old enough to be deleted.
    """
    # Create temp job cache dir without files in it.
    jid_dir, jid_file = make_tmp_jid_dirs(create_files=False)
    # File timestamps on Windows aren't as precise. Let a little time pass
    if salt.utils.platform.is_windows():
        time.sleep(0.01)
    # Make sure there are no files in the directory before continuing
    assert jid_file is None
    # Call clean_old_jobs function, patching the keep_jobs_seconds value
    # with a very small value to force the call to clean the job.
    with patch.dict(local_cache.__opts__, {"keep_jobs_seconds": 0.00000001}):
        # Sleep on Windows because time.time is only precise to 3 decimal
        # points, and therefore subtracting the jid_ctime from time.time
        # will result in a negative number
        if salt.utils.platform.is_windows():
            time.sleep(0.25)
        local_cache.clean_old_jobs()
    # Assert that the JID dir was removed
    assert [] == os.listdir(tmp_jid_dir)