summaryrefslogtreecommitdiffstats
path: root/clover/logging/conftest.py
blob: d464fab78f99cbac64be1a30f930d58eeb168d39 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
# Copyright (c) Authors of Clover
#
# All rights reserved. This program and the accompanying materials
# are made available under the terms of the Apache License, Version 2.0
# which accompanies this distribution, and is available at
# http://www.apache.org/licenses/LICENSE-2.0

from elasticsearch import Elasticsearch
import pytest

ES_HOST="localhost:9200"

@pytest.fixture
def es():
    return Elasticsearch([ES_HOST])