[7.x] Sort imports with isort and regenerate APIs

This commit is contained in:
Seth Michael Larson
2021-01-13 14:21:04 -06:00
committed by GitHub
parent e0e54a1128
commit a728aaa491
195 changed files with 1010 additions and 816 deletions
@@ -15,10 +15,13 @@
# specific language governing permissions and limitations
# under the License.
import os
import pytest
import asyncio
import os
import pytest
import elasticsearch
from ...utils import wipe_cluster
pytestmark = pytest.mark.asyncio
@@ -17,6 +17,7 @@
# under the License.
from __future__ import unicode_literals
import pytest
pytestmark = pytest.mark.asyncio
@@ -19,14 +19,14 @@
# Elasticsearch B.V licenses this file to you under the Apache 2.0 License.
# See the LICENSE file in the project root for more information
import pytest
import asyncio
from mock import patch, MagicMock
from elasticsearch import helpers, TransportError
import pytest
from mock import MagicMock, patch
from elasticsearch import TransportError, helpers
from elasticsearch.helpers import ScanError
pytestmark = pytest.mark.asyncio
@@ -20,19 +20,21 @@ Dynamically generated set of TestCases based on set of yaml files decribing
some integration tests. These files are shared among all official Elasticsearch
clients.
"""
import pytest
import warnings
import inspect
import warnings
from elasticsearch import RequestError, ElasticsearchWarning
import pytest
from elasticsearch import ElasticsearchWarning, RequestError
from elasticsearch.helpers.test import _get_version
from ...test_server.test_rest_api_spec import (
YamlRunner,
IMPLEMENTED_FEATURES,
PARAMS_RENAMES,
RUN_ASYNC_REST_API_TESTS,
YAML_TEST_SPECS,
InvalidActionType,
RUN_ASYNC_REST_API_TESTS,
PARAMS_RENAMES,
IMPLEMENTED_FEATURES,
YamlRunner,
)
pytestmark = pytest.mark.asyncio