#NEWLINE# @ pytest . mark . parametrize ( ( 'attribute' , 'expected_value' ) , [ ( 'table_name' , '797536898 9' ) , ( 'max_players' , 9 ) , ( 'button' , _Player ( name = 'W2lkm2n' , stack = 11815 , seat = 2 , combo = Combo ( 'JdJs' ) ) ) , ( 'hero' , _Player ( name = 'W2lkm2n' , stack = 11815 , seat = 2 , combo = Combo ( 'JdJs' ) ) ) , ( 'players' , [ _Player ( name = 'RichFatWhale' , stack = 12910 , seat = 1 , combo = None ) , _Player ( name = 'W2lkm2n' , stack = 11815 , seat = 2 , combo = Combo ( 'JdJs' ) ) , _Player ( name = 'Labahra' , stack = 7395 , seat = 3 , combo = None ) , _Player ( name = 'Lean Abadia' , stack = 7765 , seat = 4 , combo = None ) , _Player ( name = 'lkenny44' , stack = 10080 , seat = 5 , combo = None ) , _Player ( name = 'Newfie_187' , stack = 1030 , seat = 6 , combo = None ) , _Player ( name = 'Hokolix' , stack = 13175 , seat = 7 , combo = None ) , _Player ( name = 'pmmr' , stack = 2415 , seat = 8 , combo = None ) , _Player ( name = 'costamar' , stack = 13070 , seat = 9 , combo = None ) ] ) , ( 'turn' , Card ( '8d' ) ) , ( 'river' , Card ( 'Ks' ) ) , ( 'board' , ( Card ( '3c' ) , Card ( '6s' ) , Card ( '9d' ) , Card ( '8d' ) , Card ( 'Ks' ) ) ) , ( 'preflop_actions' , ( 'lkenny44: folds' , 'Newfie_187: raises 155 to 955 and is all-in' , 'Hokolix: folds' , 'pmmr: folds' , 'costamar: raises 12040 to 12995 and is all-in' , 'RichFatWhale: folds' , 'W2lkm2n: calls 11740 and is all-in' , 'Labahra: folds' , 'Lean Abadia: folds' , 'Uncalled bet (1255) returned to costamar' ) ) , ( 'turn_actions' , None ) , ( 'river_actions' , None ) , ( 'total_pot' , Decimal ( 26310 ) ) , ( 'show_down' , True ) , ( 'winners' , ( 'costamar' , ) ) ] ) #NEWLINE# def test_body( self , hand , attribute , expected_value ) : #NEWLINE# #INDENT# assert ( getattr ( hand , attribute ) == expected_value )