(db: Session, test_collection: Collection)
| 82 | |
| 83 | @pytest.fixture |
| 84 | def test_multiple_cards(db: Session, test_collection: Collection) -> list[Card]: |
| 85 | cards = [] |
| 86 | for i in range(5): |
| 87 | card_in = CardCreate(front=f"front {i}", back=f"back {i}") |
| 88 | card = create_card( |
| 89 | session=db, card_in=card_in, collection_id=test_collection.id |
| 90 | ) |
| 91 | cards.append(card) |
| 92 | |
| 93 | return cards |
nothing calls this directly
no test coverage detected