def test_card_all(): cards = Card.all(user_id=user_id) assert len(list(cards)) == 1
def test_card_all(): cards = Card.all(user_id=user_id) assert len([cards]) == 1