Skip to content

Commit

Permalink
capitalise word :(
Browse files Browse the repository at this point in the history
  • Loading branch information
Hlamallama committed Nov 13, 2023
1 parent 52e4b39 commit 55d2d7f
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion yal/assessments.py
Original file line number Diff line number Diff line change
Expand Up @@ -378,7 +378,7 @@ async def state_handle_assessment_reminder_response(self):
msisdn = utils.normalise_phonenumber(self.inbound.from_addr)
whatsapp_id = msisdn.lstrip(" + ")
endline_survey_started = self.user.metadata.get("endline_survey_started")
survey = "endline " if endline_survey_started == "pending" else ""
survey = "endline " if endline_survey_started == "Pending" else ""

if inbound in [
"continue now",
Expand Down
2 changes: 1 addition & 1 deletion yal/tests/test_main.py
Original file line number Diff line number Diff line change
Expand Up @@ -1542,7 +1542,7 @@ async def test_survey_invite_remind_me_tomorrow(
tester.user.metadata["terms_accepted"] = True
tester.user.metadata["onboarding_completed"] = True
tester.user.metadata["baseline_survey_completed"] = True
tester.user.metadata["endline_survey_started"] = "pending"
tester.user.metadata["endline_survey_started"] = "Pending"

await tester.user_input("remind me tomorrow")

Expand Down

0 comments on commit 55d2d7f

Please sign in to comment.