blob: 58998a60585db3806777e77b3a5c331cf8a2f3fe [file] [log] [blame]
# Copyright 2015 The Chromium OS Authors. All rights reserved.
# Use of this source code is governed by a BSD-style license that can be
# found in the LICENSE file.
"""Mocks for ElasticSearch."""
from __future__ import print_function
from chromite.lib.graphite_lib import stats_es_mock
class Elasticsearch(stats_es_mock.mock_class_base):
"""Mock class for es_mock."""
class ElasticsearchException(Exception):
"""Mock class for elcasticsearch.ElasticsearchException."""