[7.x] Sort imports with isort and regenerate APIs
This commit is contained in:
@@ -16,18 +16,18 @@
|
||||
# specific language governing permissions and limitations
|
||||
# under the License.
|
||||
|
||||
import ssl
|
||||
import gzip
|
||||
import io
|
||||
from mock import patch
|
||||
import ssl
|
||||
import warnings
|
||||
from platform import python_version
|
||||
import aiohttp
|
||||
from multidict import CIMultiDict
|
||||
import pytest
|
||||
|
||||
from elasticsearch import AIOHttpConnection
|
||||
from elasticsearch import __versionstr__
|
||||
import aiohttp
|
||||
import pytest
|
||||
from mock import patch
|
||||
from multidict import CIMultiDict
|
||||
|
||||
from elasticsearch import AIOHttpConnection, __versionstr__
|
||||
|
||||
pytestmark = pytest.mark.asyncio
|
||||
|
||||
|
||||
@@ -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
|
||||
|
||||
@@ -17,18 +17,19 @@
|
||||
# under the License.
|
||||
|
||||
from __future__ import unicode_literals
|
||||
import re
|
||||
|
||||
import asyncio
|
||||
import json
|
||||
from mock import patch
|
||||
import re
|
||||
|
||||
import pytest
|
||||
from mock import patch
|
||||
|
||||
from elasticsearch import AsyncTransport
|
||||
from elasticsearch.connection import Connection
|
||||
from elasticsearch.connection_pool import DummyConnectionPool
|
||||
from elasticsearch.exceptions import ConnectionError, TransportError
|
||||
|
||||
|
||||
pytestmark = pytest.mark.asyncio
|
||||
|
||||
|
||||
|
||||
Reference in New Issue
Block a user