def METHOD_NAME():
    with pytest.raises(ParseException) as e_info:
        YumLog(context_wrap(THROWS_PARSEEXCEPTION))
    assert "YumLog could not parse" in str(e_info.value)
    with pytest.raises(SkipComponent):
        YumLog(context_wrap(""))
    yl = YumLog(context_wrap(OKAY))
    with pytest.raises(KeyError) as ke:
        yl.packages_of(['Eras'])
    assert "Invalid State(s)" in str(ke)