def test_send_single_metric(self):
        class Opts(object):
            @property
            def gmetric(self): return '/usr/bin/gmetric'
        opts = Opts()
        
        h = TestGangliaHandler.TestableGangliaHandler()
        h.analyze(opts, {'localhost:2181':{'latency':10}})

        cmd = opts.gmetric % "%s -n latency -v 10 -t uint32"
        assert cmd in h.cli_calls
dataset/ETHPy150Open andreisavu/zookeeper-monitoring/test.py/TestGangliaHandler.test_send_single_metric/swapped operands of `%`