Skip to content

Commit

Permalink
Merge pull request #678 from praekeltfoundation/fix_lets_do_this
Browse files Browse the repository at this point in the history
go to relationship q after let's do this
  • Loading branch information
Hlamallama authored Aug 28, 2023
2 parents b0c7107 + 3f59130 commit b7efdc3
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 3 deletions.
2 changes: 1 addition & 1 deletion yal/assessments.py
Original file line number Diff line number Diff line change
Expand Up @@ -401,7 +401,7 @@ async def state_handle_assessment_reminder_response(self):
f"state_{assessment_name.replace('_v2', '')}_assessment_v2"
)
if "endline" in assessment_name:
return await self.go_to_state("state_start_terms")
return await self.go_to_state("state_relationship_status_endline")

return await self.go_to_state(f"state_{assessment_name}_assessment")

Expand Down
2 changes: 1 addition & 1 deletion yal/tests/surveys/test_endline.py
Original file line number Diff line number Diff line change
Expand Up @@ -1316,4 +1316,4 @@ async def test_state_accept_consent_reminder_lets_do_this(
tester.user.metadata["assessment_reminder_sent"] = True
await tester.user_input("Let's do it")

tester.assert_state("state_start_terms")
tester.assert_state("state_relationship_status_endline")
2 changes: 1 addition & 1 deletion yal/tests/test_main.py
Original file line number Diff line number Diff line change
Expand Up @@ -460,7 +460,7 @@ async def test_assessment_reminder_keywords(
] = "locus_of_control_endline"

await tester.user_input("continue now")
tester.assert_state("state_start_terms")
tester.assert_state("state_relationship_status_endline")


@pytest.mark.asyncio
Expand Down

0 comments on commit b7efdc3

Please sign in to comment.