def METHOD_NAME(client, empty_index):
    """Tests getting the global tasks list after populating an index."""
    current_tasks = client.get_tasks()
    pre_count = current_tasks.from_
    empty_index()
    tasks = client.get_tasks()
    assert tasks.from_ == pre_count + 1