aboutsummaryrefslogtreecommitdiff
path: root/tests/models/thl/test_upkquestion.py
diff options
context:
space:
mode:
authorMax Nanis2026-08-24 12:35:35 -0700
committerMax Nanis2026-08-24 12:35:35 -0700
commite2c5de703be45746bacaea4136f24440ff5a291c (patch)
tree9c3d9d448e56357feda24a4b0749370a9a33cb55 /tests/models/thl/test_upkquestion.py
parentd48f04ab7f034b9b2039c42cd616d7d7851817b9 (diff)
downloadgeneralresearch-e2c5de703be45746bacaea4136f24440ff5a291c.tar.gz
generalresearch-e2c5de703be45746bacaea4136f24440ff5a291c.zip
Ruff std replacements
Diffstat (limited to 'tests/models/thl/test_upkquestion.py')
-rw-r--r--tests/models/thl/test_upkquestion.py12
1 files changed, 2 insertions, 10 deletions
diff --git a/tests/models/thl/test_upkquestion.py b/tests/models/thl/test_upkquestion.py
index d32875c..99d7871 100644
--- a/tests/models/thl/test_upkquestion.py
+++ b/tests/models/thl/test_upkquestion.py
@@ -201,18 +201,10 @@ class TestUpkQuestion:
)
q = MorningQuestion(
- **{
- "id": "gender",
- "country_iso": "us",
- "language_iso": "eng",
- "name": "Gender",
- "text": "What is your gender?",
- "type": "s",
- "options": [
+ id="gender", country_iso="us", language_iso="eng", name="Gender", text="What is your gender?", type="s", options=[
{"id": "1", "text": "yes", "order": 1},
{"id": "2", "text": "no", "order": 2},
- ],
- }
+ ]
)
q.to_upk_question()
q = MorningQuestion(