tests/_fixtures.py
def mocked_statsd(mocker, mocked_config):
    """Mocked version of the StatsD class for unit test usage."""
    statsd = StatsClient(mocked_config.statsd_config)
    mocked_statsd = mocker.MagicMock(spec=statsd)
    yield mocked_statsd
Mocked version of the StatsD class for unit test usage.
Mocked version of the StatsD class for unit test usage.
Mocked version of the StatsD class for unit test usage .
def mocked_statsd(mocker, mocked_config):
    statsd = StatsClient(mocked_config.statsd_config)
    mocked_statsd = mocker.MagicMock(spec=statsd)
    yield mocked_statsd
def mocked_statsd ( mocker , mocked_config ) : statsd = StatsClient ( mocked_config . statsd_config ) mocked_statsd = mocker . MagicMock ( spec = statsd ) yield mocked_statsd
Mocked version of the StatsD class for unit test usage.
Mocked version of the StatsD class for unit test usage .
"""Mocked version of the StatsD class for unit test usage."""
mocker
mocked_config