Skip to content

Commit c746957

Browse files
committed
third times the charm
1 parent 7f11a6d commit c746957

2 files changed

Lines changed: 7 additions & 7 deletions

File tree

test/assets/tasks_create_flow_task.xml

Lines changed: 6 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -1,24 +1,24 @@
11
<tsResponse xmlns="http://tableau.com/api" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:schemaLocation="http://tableau.com/api https://help.tableau.com/samples/en-us/rest_api/ts-api_3_22.xsd">
22
<task>
3-
<flowRun id="4d49655a-0f3a-45cc-ba61-b108a763e83a"
3+
<flowRun id="flow_run_id"
44
priority="50"
55
consecutiveFailedCount="0"
66
type="RunFlowTask">
7-
<schedule id="1060dcb7-fef7-4fb1-8d3b-d0f042932d1a"
8-
name="SSS_e95a9d25-c616-4542-87b6-3725975bdfbd"
7+
<schedule id="schedule_id"
8+
name="schedu;e_name"
99
state="Active"
1010
priority="50"
1111
createdAt="2024-04-09T18:54:12Z"
1212
updatedAt="2024-04-09T18:54:12Z"
1313
type="Flow"
1414
frequency="Daily"
1515
nextRunAt="2024-04-10T19:30:00Z"/>
16-
<flow id="dd3cd2e7-2ede-49c6-945f-e7b2a2f25541"
16+
<flow id="flow_id"
1717
name="olympic 1">
1818
</flow>
19-
<flowRunSpec flowId="dd3cd2e7-2ede-49c6-945f-e7b2a2f25541">
19+
<flowRunSpec flowId="flow_id">
2020
<flowOutputSteps>
21-
<flowOutputStep id="485c8b5f-5647-466c-b549-e38410b7c7c8"
21+
<flowOutputStep id="flow_output_setp_id"
2222
name="Output"/>
2323
</flowOutputSteps>
2424
<flowParameterSpecs/>

test/test_flowtask.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -43,5 +43,5 @@ def test_create_flow_task(self):
4343
m.post("{}".format(self.baseurl), text=response_xml)
4444
create_response_content = self.server.flow_tasks.create(task).decode("utf-8")
4545

46-
self.assertTrue("task_id" in create_response_content)
46+
self.assertTrue("schedule_id" in create_response_content)
4747
self.assertTrue("flow_id" in create_response_content)

0 commit comments

Comments
 (0)