@@ -21,7 +21,7 @@ def test_list_workflows(httpx_mock, client: UnstructuredClient, platform_api_url
2121 ],
2222 "id" : "16b80fee-64dc-472d-8f26-1d7729b6423d" ,
2323 "name" : "test_workflow" ,
24- "schedule" : {"crontab_entries" : [{"cron_expression" : "0 0 * * * " }]},
24+ "schedule" : {"crontab_entries" : [{"cron_expression" : "0 0 * * 0 " }]},
2525 "sources" : [
2626 "f1f7b1b2-8e4b-4a2b-8f1d-3e3c7c9e5a3c" ,
2727 ],
@@ -53,7 +53,7 @@ def test_list_workflows(httpx_mock, client: UnstructuredClient, platform_api_url
5353 "2025-06-22T11:37:21.648+00:00"
5454 )
5555 assert workflow .schedule == shared .WorkflowSchedule (
56- crontab_entries = [shared .crontabentry .CronTabEntry (cron_expression = "0 0 * * * " )]
56+ crontab_entries = [shared .crontabentry .CronTabEntry (cron_expression = "0 0 * * 0 " )]
5757 )
5858
5959 assert workflow .sources == [
@@ -127,7 +127,7 @@ def test_create_workflow(httpx_mock, client: UnstructuredClient, platform_api_ur
127127 ],
128128 "id" : "16b80fee-64dc-472d-8f26-1d7729b6423d" ,
129129 "name" : "test_workflow" ,
130- "schedule" : {"crontab_entries" : [{"cron_expression" : "0 0 * * * " }]},
130+ "schedule" : {"crontab_entries" : [{"cron_expression" : "0 0 * * 0 " }]},
131131 "sources" : [
132132 "f1f7b1b2-8e4b-4a2b-8f1d-3e3c7c9e5a3c" ,
133133 ],
@@ -141,7 +141,7 @@ def test_create_workflow(httpx_mock, client: UnstructuredClient, platform_api_ur
141141 create_workflow = shared .CreateWorkflow (
142142 name = "test_workflow" ,
143143 workflow_type = "advanced" ,
144- schedule = "0 0 * * * " ,
144+ schedule = "weekly " ,
145145 source_id = "f1f7b1b2-8e4b-4a2b-8f1d-3e3c7c9e5a3c" ,
146146 destination_id = "aeebecc7-9d8e-4625-bf1d-815c2f084869" ,
147147 )
@@ -171,7 +171,7 @@ def test_update_workflow(httpx_mock, client: UnstructuredClient, platform_api_ur
171171 ],
172172 "id" : "16b80fee-64dc-472d-8f26-1d7729b6423d" ,
173173 "name" : "test_workflow" ,
174- "schedule" : {"crontab_entries" : [{"cron_expression" : "0 0 * * * " }]},
174+ "schedule" : {"crontab_entries" : [{"cron_expression" : "0 0 * * 0 " }]},
175175 "sources" : [
176176 "f1f7b1b2-8e4b-4a2b-8f1d-3e3c7c9e5a3c" ,
177177 ],
@@ -186,7 +186,7 @@ def test_update_workflow(httpx_mock, client: UnstructuredClient, platform_api_ur
186186 update_workflow = shared .UpdateWorkflow (
187187 name = "test_workflow" ,
188188 workflow_type = "advanced" ,
189- schedule = "0 0 * * * " ,
189+ schedule = "weekly " ,
190190 source_id = "f1f7b1b2-8e4b-4a2b-8f1d-3e3c7c9e5a3c" ,
191191 destination_id = "aeebecc7-9d8e-4625-bf1d-815c2f084869" ,
192192 ),
@@ -210,7 +210,7 @@ def test_update_workflow(httpx_mock, client: UnstructuredClient, platform_api_ur
210210 "2025-06-22T11:37:21.648+00:00"
211211 )
212212 assert updated_workflow .schedule == shared .WorkflowSchedule (
213- crontab_entries = [shared .crontabentry .CronTabEntry (cron_expression = "0 0 * * * " )]
213+ crontab_entries = [shared .crontabentry .CronTabEntry (cron_expression = "0 0 * * 0 " )]
214214 )
215215 assert updated_workflow .sources == ["f1f7b1b2-8e4b-4a2b-8f1d-3e3c7c9e5a3c" ]
216216 assert updated_workflow .destinations == ["aeebecc7-9d8e-4625-bf1d-815c2f084869" ]
@@ -229,12 +229,12 @@ def test_run_workflow(httpx_mock, client: UnstructuredClient, platform_api_url:
229229 "created_at" : "2024-08-04T10:06:22.481Z" ,
230230 "id" : "6c4f327c-7ca2-4933-a68d-2ebe9d9f1445" ,
231231 "name" : "test_workflow" ,
232- "schedule" : {"crontab_entries" : [{"cron_expression" : "0 0 * * * " }]},
232+ "schedule" : {"crontab_entries" : [{"cron_expression" : "0 0 * * 0 " }]},
233233 "sources" : ["a9593964-92eb-496f-84ac-c8f067ba24c3" ],
234234 "destinations" : [
235235 "aeebecc7-9d8e-4625-bf1d-815c2f084869" ,
236236 ],
237- "status" : "inactive " ,
237+ "status" : "active " ,
238238 "workflow_type" : "platinum" ,
239239 },
240240 )
@@ -257,12 +257,12 @@ def test_run_workflow(httpx_mock, client: UnstructuredClient, platform_api_url:
257257 assert workflow_run .id == "6c4f327c-7ca2-4933-a68d-2ebe9d9f1445"
258258 assert workflow_run .name == "test_workflow"
259259 assert workflow_run .workflow_type == "platinum"
260- assert workflow_run .status == "inactive "
260+ assert workflow_run .status == "active "
261261 assert workflow_run .created_at == datetime .fromisoformat (
262262 "2024-08-04T10:06:22.481+00:00"
263263 )
264264 assert workflow_run .schedule == shared .WorkflowSchedule (
265- crontab_entries = [shared .crontabentry .CronTabEntry (cron_expression = "0 0 * * * " )]
265+ crontab_entries = [shared .crontabentry .CronTabEntry (cron_expression = "0 0 * * 0 " )]
266266 )
267267 assert workflow_run .sources == ["a9593964-92eb-496f-84ac-c8f067ba24c3" ]
268268 assert workflow_run .destinations == ["aeebecc7-9d8e-4625-bf1d-815c2f084869" ]
0 commit comments