def test_get_list_tasks(todoable_keys): """ Test API Call for get_list_tasks """ token = todoable_keys.get('token') list_id = todoable_keys.get('list_id') response = TODOABLE.get_list_tasks(token, list_id) assert isinstance(response, dict) assert response.get('items') != None
def get_list_tasks(event): token = event.get('token', None) list_id = event.get('list_id', None) response = TODOABLE.get_list_tasks(token, list_id) return (response)