Changeset 6a7dec1 in flexoentity for tests/conftest.py
- Timestamp:
- 10/22/25 17:12:07 (3 months ago)
- Branches:
- master
- Children:
- 02d288d
- Parents:
- 524040a
- File:
-
- 1 edited
-
tests/conftest.py (modified) (1 diff)
Legend:
- Unmodified
- Added
- Removed
-
tests/conftest.py
r524040a r6a7dec1 40 40 41 41 @pytest.fixture 42 def sample_exam():43 """Reusable Exam fixture with default metadata for tests."""44 exam = Exam(45 domain="AF",46 etype=EntityType.EXAM,47 state=EntityState.DRAFT,48 title="Signals Exam",49 duration="30 min",50 allowed_aids="none",51 headline="Basics of Signals",52 intro_note="Welcome to the exam",53 submit_note="Submit carefully",54 author="Tester",55 )56 return exam57 58 @pytest.fixture59 42 def null_media(): 60 43 """Provide a default NullMediaItem instance for tests."""
Note:
See TracChangeset
for help on using the changeset viewer.
