From 971e869791bd0cba95be92f3a21dfff8b56510e3 Mon Sep 17 00:00:00 2001 From: mike cullerton Date: Thu, 12 Jan 2023 13:48:03 -0500 Subject: [PATCH] Add comment in the script about last assertion --- tests/scripts/test_get_user_studies.py | 2 ++ 1 file changed, 2 insertions(+) diff --git a/tests/scripts/test_get_user_studies.py b/tests/scripts/test_get_user_studies.py index d2fdb46f..23ad25b7 100644 --- a/tests/scripts/test_get_user_studies.py +++ b/tests/scripts/test_get_user_studies.py @@ -21,4 +21,6 @@ class TestGetUserStudies(BaseTest): workflow_api = self.complete_form(workflow, task, form_data) task = workflow_api.next_task assert task.name == "Event_EndEvent" + # The script returns the whole study object, but + # the workflow pulls out the study ids and creates a list of study ids assert "[11111, 54321, 65432, 1]" in task.documentation