

def test_send(self):
    self.assertEqual(config.get('statsd.protocol'), 'tcp')
    stats.send('foo:1|c')
    line = mockserver.readline()
    self.assertEqual(line, 'foo:1|c')

dataset/ETHPy150Open uber/clay/tests/test_stats.py TestStats.test_send/original