[7.x] Sort imports with isort and regenerate APIs
This commit is contained in:
@@ -16,6 +16,7 @@
|
||||
# under the License.
|
||||
|
||||
from unittest import SkipTest
|
||||
|
||||
from elasticsearch.helpers import test
|
||||
from elasticsearch.helpers.test import ElasticsearchTestCase as BaseTestCase
|
||||
|
||||
|
||||
@@ -17,8 +17,11 @@
|
||||
|
||||
import os
|
||||
import time
|
||||
|
||||
import pytest
|
||||
|
||||
import elasticsearch
|
||||
|
||||
from ..utils import wipe_cluster
|
||||
|
||||
|
||||
|
||||
@@ -17,11 +17,11 @@
|
||||
|
||||
from mock import patch
|
||||
|
||||
from elasticsearch import helpers, TransportError
|
||||
from elasticsearch import TransportError, helpers
|
||||
from elasticsearch.helpers import ScanError
|
||||
|
||||
from . import ElasticsearchTestCase
|
||||
from ..test_cases import SkipTest
|
||||
from . import ElasticsearchTestCase
|
||||
|
||||
|
||||
class FailingBulkClient(object):
|
||||
|
||||
@@ -20,16 +20,17 @@ Dynamically generated set of TestCases based on set of yaml files describing
|
||||
some integration tests. These files are shared among all official Elasticsearch
|
||||
clients.
|
||||
"""
|
||||
import sys
|
||||
import re
|
||||
import os
|
||||
from os import walk, environ
|
||||
from os.path import exists, join, dirname, pardir, relpath
|
||||
import yaml
|
||||
import re
|
||||
import sys
|
||||
import warnings
|
||||
import pytest
|
||||
from os import environ, walk
|
||||
from os.path import dirname, exists, join, pardir, relpath
|
||||
|
||||
from elasticsearch import TransportError, RequestError, ElasticsearchWarning
|
||||
import pytest
|
||||
import yaml
|
||||
|
||||
from elasticsearch import ElasticsearchWarning, RequestError, TransportError
|
||||
from elasticsearch.compat import string_types
|
||||
from elasticsearch.helpers.test import _get_version
|
||||
|
||||
|
||||
Reference in New Issue
Block a user