Add Google Tasks create and update for todo platform (#102754)

* Add Google Tasks create and update for todo platform

* Update comments

* Update comments
This commit is contained in:
Allen Porter 2023-10-25 01:51:21 -07:00 committed by GitHub
parent ffed1e8274
commit 7f7064ce59
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
5 changed files with 279 additions and 10 deletions

View file

@ -0,0 +1,37 @@
# serializer version: 1
# name: test_create_todo_list_item[api_responses0]
tuple(
'https://tasks.googleapis.com/tasks/v1/lists/task-list-id-1/tasks?alt=json',
'POST',
)
# ---
# name: test_create_todo_list_item[api_responses0].1
'{"title": "Soda", "status": "needsAction"}'
# ---
# name: test_partial_update_status[api_responses0]
tuple(
'https://tasks.googleapis.com/tasks/v1/lists/task-list-id-1/tasks/some-task-id?alt=json',
'PATCH',
)
# ---
# name: test_partial_update_status[api_responses0].1
'{"status": "needsAction"}'
# ---
# name: test_partial_update_title[api_responses0]
tuple(
'https://tasks.googleapis.com/tasks/v1/lists/task-list-id-1/tasks/some-task-id?alt=json',
'PATCH',
)
# ---
# name: test_partial_update_title[api_responses0].1
'{"title": "Soda"}'
# ---
# name: test_update_todo_list_item[api_responses0]
tuple(
'https://tasks.googleapis.com/tasks/v1/lists/task-list-id-1/tasks/some-task-id?alt=json',
'PATCH',
)
# ---
# name: test_update_todo_list_item[api_responses0].1
'{"title": "Soda", "status": "completed"}'
# ---