1#pylint: disable-msg=C0111 2 3# Copyright (c) 2013 The Chromium OS Authors. All rights reserved. 4# Use of this source code is governed by a BSD-style license that can be 5# found in the LICENSE file. 6 7import stats_es_mock 8 9 10class Connection: 11 """Mock class for statsd.Connection""" 12 def __init__(self, host, port): 13 pass 14 15 16 @classmethod 17 def set_defaults(cls, host, port): 18 pass 19 20 21class Average(stats_es_mock.mock_class_base): 22 """Mock class for statsd.Average.""" 23 24 25class Counter(stats_es_mock.mock_class_base): 26 """Mock class for statsd.Counter.""" 27 28 29class Gauge(stats_es_mock.mock_class_base): 30 """Mock class for statsd.Gauge.""" 31 32 33class Timer(stats_es_mock.mock_class_base): 34 """Mock class for statsd.Timer.""" 35 36 37 def __enter__(self): 38 pass 39 40 41 def __exit__(self): 42 pass 43 44 45class Raw(stats_es_mock.mock_class_base): 46 """Mock class for statsd.Raw.""" 47