We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 251caf9 commit 527b156Copy full SHA for 527b156
test_elasticsearch/test_server/__init__.py
@@ -30,18 +30,11 @@ def get_client(**kwargs):
30
if client is not None and not kwargs:
31
return client
32
33
- # try and locate manual override in the local environment
34
try:
35
- from test_elasticsearch.local import get_client as local_get_client
36
-
37
- new_client = local_get_client(**kwargs)
38
- except ImportError:
39
- # fallback to using vanilla client
40
- try:
41
- new_client = test.get_test_client(**kwargs)
42
- except SkipTest:
43
- client = False
44
- raise
+ new_client = test.get_test_client(**kwargs)
+ except SkipTest:
+ client = False
+ raise
45
46
if not kwargs:
47
client = new_client
0 commit comments