Did I find the right examples for you? yes no

All Samples(23)  |  Call(23)  |  Derive(0)  |  Import(0)

src/w/e/websocket_cardgames-HEAD/crosspurposes/test.py   websocket_cardgames(Download)
        p3.hand.append(p3_card)
        p4.hand.append(p4_card)
    p1.bid(Suits['Hearts'])
    p2.bid(Suits['Diamonds'])
    p3.bid(Suits['Clubs'])
    p4.bid(Suits['Spades'])
    p1.bid(Suits['Hearts'])

src/w/e/websocket_cardgames-HEAD/kaibosh/test.py   websocket_cardgames(Download)
            p4.hand.append(ten_of_spades)
        self.render_template()
        p1.bid(0)
        p2.bid(1)
        try:
            p3.bid(1)
            assert False, 'Should complain about the bid being too low'
        except:
            assert True
        p3.bid(4)
            assert True
        p3.bid(4)
        p4.bid(0)
        assert g.score == [{'bidder': p3, 'bid': 4, 'trump': None, 'made_it': None, 'scores': ['-', '-']}]
        assert g.high_bid == (p3, 4)