I think we want `if line.strip() == "FAIL"`, that way it doesn't silently ignore possibly weird lines.