#NEWLINE# @ pytest . mark . parametrize ( ( 'attribute' , 'expected_value' ) , [ ( 'actions' , ( _PlayerAction ( 'blak_douglas' , Action . CHECK , None ) , _PlayerAction ( 'flettl2' , Action . BET , Decimal ( 150 ) ) , _PlayerAction ( 'blak_douglas' , Action . CALL , Decimal ( 150 ) ) ) ) , ( 'cards' , ( Card ( '6s' ) , Card ( '4d' ) , Card ( '3s' ) ) ) , ( 'is_rainbow' , False ) , ( 'is_monotone' , False ) , ( 'is_triplet' , False ) , ( 'has_pair' , False ) , ( 'has_straightdraw' , True ) , ( 'has_gutshot' , True ) , ( 'has_flushdraw' , True ) , ( 'players' , ( 'blak_douglas' , 'flettl2' ) ) ] ) #NEWLINE# def test_flop_attributes( self , hand , attribute , expected_value ) : #NEWLINE# #INDENT# assert ( getattr ( hand . flop , self ) == expected_value )