def test_card_valid_suit_pass(): for suit in s.names.keys(): ace = Card('A', suit) assert ace.__repr__() == "A{}".format(test_symbols[suit]) assert ace.__str__() == "Ace of {}".format(test_names[suit])