@pytest.fixture
def hand(request):
    hh = PokerStarsHandHistory(request.instance.hand_text)
    hh.parse()
    return hh
Parse handhistory defined in hand_text class attribute
dataset/ETHPy150Open pokerregion/poker/tests/handhistory/test_stars.py/hand