Adds helpful statement to know which ES instance you are connecting to

This commit is contained in:
Winterflower 2019-11-27 21:03:47 +01:00
parent ce477021c1
commit 83d0c3de38

View File

@ -66,6 +66,7 @@ def _setup_test_nested(es):
if __name__ == '__main__':
# Create connection to Elasticsearch - use defaults
print('Connecting to ES', ELASTICSEARCH_HOST)
es = Elasticsearch(ELASTICSEARCH_HOST)
_setup_data(es)