def test_invokes_statsd_send_default_value(self):
     with mock.patch('sprockets.clients.statsd._send') as send:
         statsd.set_gauge('foo', 'bar', 'baz', 'qux', value=99)
         send.assert_called_once_with('foo.bar.baz.qux', 99, 'g')
 def test_invokes_statsd_send_default_value(self):
     with mock.patch('sprockets.clients.statsd._send') as send:
         statsd.set_gauge('foo', 'bar', 'baz', 'qux', value=99)
         send.assert_called_once_with('foo.bar.baz.qux', 99, 'g')
 def test_single_delimited_key_invokes_send(self):
     with mock.patch('sprockets.clients.statsd._send') as send:
         statsd.set_gauge('foo.bar.baz', value=20)
         send.assert_called_once_with('foo.bar.baz', 20, 'g')
 def test_single_delimited_key_invokes_send(self):
     with mock.patch('sprockets.clients.statsd._send') as send:
         statsd.set_gauge('foo.bar.baz', value=20)
         send.assert_called_once_with('foo.bar.baz', 20, 'g')