def METHOD_NAME(client):
    """
    Auto-clears the tasks after each test function run.
    Makes all the test functions independent.
    """
    client.delete_tasks({"statuses": ["succeeded", "failed", "canceled"]})