Skip to content

Commit

Permalink
Merge pull request #704 from praekeltfoundation/anxiety_question
Browse files Browse the repository at this point in the history
update top part of the anxiety question
  • Loading branch information
Hlamallama authored Nov 9, 2023
2 parents 8818750 + 818de68 commit 577e8ce
Show file tree
Hide file tree
Showing 2 changed files with 14 additions and 1 deletion.
9 changes: 8 additions & 1 deletion yal/question_sets/endline/anxiety_endline.py
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,14 @@
"questions": {
"endline_5_q1_anxiety": {
"type": "list",
"text": "Feeling nervous, anxious or on edge",
"text": "\n".join(
[
"*Over the last 2 weeks, how often have you been "
"bothered by the following problems?*",
"",
"Feeling nervous, anxious or on edge",
]
),
"options": [
("not_at_all", "Not at all"),
("several_days", "Several days"),
Expand Down
6 changes: 6 additions & 0 deletions yal/tests/surveys/test_endline.py
Original file line number Diff line number Diff line change
Expand Up @@ -477,6 +477,9 @@ async def test_state_body_image_assessment_end(tester: AppTester):
"◼️◽️",
"-----",
"",
"*Over the last 2 weeks, how often have you been "
"bothered by the following problems?*",
"",
"Feeling nervous, anxious or on edge",
]
)
Expand Down Expand Up @@ -1137,6 +1140,9 @@ async def test_endline_flow(tester: AppTester, rapidpro_mock):
"◼️◽️",
"-----",
"",
"*Over the last 2 weeks, how often have you been "
"bothered by the following problems?*",
"",
"Feeling nervous, anxious or on edge",
]
)
Expand Down

0 comments on commit 577e8ce

Please sign in to comment.